{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 准备工作"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 87,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "from lxml.html import fromstring\n",
    "import time\n",
    "from random import random\n",
    "from requests_html import HTMLSession\n",
    "import base64"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 88,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-88-364a98aa385f>:10: DeprecationWarning: use options instead of chrome_options\n",
      "  driver = webdriver.Chrome( chrome_options = opts) #desired_capabilities=caps,\n"
     ]
    }
   ],
   "source": [
    "from selenium import webdriver\n",
    "from selenium.webdriver.common.desired_capabilities import DesiredCapabilities\n",
    "\n",
    "opts = webdriver.ChromeOptions()\n",
    "opts.add_argument('--no-sandbox')#解决DevToolsActivePort文件不存在的报错\n",
    "opts.add_argument('window-size=1920x3000') #指定浏览器分辨率\n",
    "opts.add_argument('--disable-gpu') #谷歌文档提到需要加上一这个属性来规避bug\n",
    "opts.add_argument('--hide-scrollbars') #隐藏滚动条, 应对些特殊页面\n",
    "\n",
    "driver = webdriver.Chrome( chrome_options = opts) #desired_capabilities=caps,"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 进入、登录知网"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 89,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.get(\"https://www.cnki.net/\")# 进入知网"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 91,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'中山大学南...'"
      ]
     },
     "execution_count": 91,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "element = driver.find_element_by_id('Ecp_loginShowName1')\n",
    "element.get_attribute('innerHTML')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 高级检索"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "search = driver.find_element_by_xpath('//*[@id=\"highSearch\"]').click()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 检查窗口信息"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['CDwindow-989EF7C850CAEED408E9F147A2812D1F', 'CDwindow-E581269B53604B9A6407BB13DF26AFD6']\n"
     ]
    }
   ],
   "source": [
    "print (driver.window_handles)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['CDwindow-989EF7C850CAEED408E9F147A2812D1F',\n",
       " 'CDwindow-E581269B53604B9A6407BB13DF26AFD6']"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "driver.window_handles"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-9-6c6d5ce6602d>:1: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[1])\n"
     ]
    }
   ],
   "source": [
    "driver.switch_to_window(driver.window_handles[1])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 搜索栏\n",
    "    — 索引词"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "search_index =  {\"theme\": \"生态\", \"author\": \"\",\"literature\":\"\"}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "## 清空主题input\n",
    "driver.find_element_by_xpath('//*[@id=\"gradetxt\"]/dd[1]/div[2]/input').clear()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_xpath('//*[@id=\"gradetxt\"]/dd[1]/div[2]/input').send_keys(search_index['theme'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "## 清空作者input\n",
    "driver.find_element_by_xpath('//*[@id=\"gradetxt\"]/dd[2]/div[2]/input').clear()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_xpath('//*[@id=\"gradetxt\"]/dd[2]/div[2]/input').send_keys(search_index['author'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "## 清空文献来源input\n",
    "driver.find_element_by_xpath('//*[@id=\"gradetxt\"]/dd[3]/div[2]/input').clear()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_xpath('//*[@id=\"gradetxt\"]/dd[3]/div[2]/input').send_keys(search_index['literature'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [],
   "source": [
    "element = driver.find_element_by_xpath('//input[@value=\"检索\"]')\n",
    "element.click()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 选择核心期刊"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 点击期刊\n",
    "driver.find_element_by_xpath('//ul[@class=\"doctype-menus keji\"]/li/a').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 勾选CSSCI\n",
    "driver.find_element_by_xpath('//input[@key=\"CSI\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 勾选北大核心\n",
    "driver.find_element_by_xpath('//input[@key=\"HX\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_xpath('/html/body/div[2]/div/div[2]/div/div[1]/div[1]/div[2]/div[2]/input').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 点击期刊\n",
    "driver.find_element_by_xpath('//ul[@class=\"doctype-menus keji\"]/li/a').click()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# query"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 点击专业检索\n",
    "driver.find_element_by_name('majorSearch').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "环境_query = '(TI=\"保护\" and SU=\"生态\") OR (TI=\"科学\" and SU = \"环境\")'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "element = driver.find_element_by_xpath('//textarea')\n",
    "element.clear()\n",
    "element.send_keys(环境_query)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 勾选CSSCI\n",
    "driver.find_element_by_xpath('//input[@key=\"CSI\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 勾选北大核心\n",
    "driver.find_element_by_xpath('//input[@key=\"HX\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_xpath('//input[@value=\"检索\"]').click()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 检索\n",
    "    期刊搜索完毕之后\n",
    "         1.显示50篇期刊\n",
    "         2.点击全选"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [],
   "source": [
    "element = driver.find_element_by_xpath('//*[@id=\"perPageDiv\"]/div')\n",
    "element.click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [],
   "source": [
    "element = driver.find_element_by_xpath('//li[@data-val=\"50\"]/a')\n",
    "element.click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>篇名</th>\n",
       "      <th>作者</th>\n",
       "      <th>刊名</th>\n",
       "      <th>发表时间</th>\n",
       "      <th>被引</th>\n",
       "      <th>下载</th>\n",
       "      <th>操作</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>长江南京段沿江岸线景观资源保护对策探讨  网络首发</td>\n",
       "      <td>唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-07-01 14:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>重庆市生态保护红线内的生态系统服务动态变化评估  网络首发</td>\n",
       "      <td>官冬杰; 黄大楠; 殷博灵</td>\n",
       "      <td>重庆交通大学学报(自然科学版)</td>\n",
       "      <td>2021-06-28 11:35</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例</td>\n",
       "      <td>单文华;徐春峰;李德昌</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-06-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例</td>\n",
       "      <td>牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖</td>\n",
       "      <td>生态与农村环境学报</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>中国石油发布2020年环境保护公报</td>\n",
       "      <td>天工</td>\n",
       "      <td>天然气工业</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>6</td>\n",
       "      <td>基于保护和利用视角下的松岭村乡土景观资源评价  网络首发</td>\n",
       "      <td>王烨梓;韦宝婧;胡希军;蒋紫君;杜心宇</td>\n",
       "      <td>西北林学院学报</td>\n",
       "      <td>2021-06-24 10:18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>7</td>\n",
       "      <td>黑土地保护的激励补偿机制构建  网络首发</td>\n",
       "      <td>崔宁波; 生世玉</td>\n",
       "      <td>长白学刊</td>\n",
       "      <td>2021-06-22 15:53</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>8</td>\n",
       "      <td>世界部分国家湿地保护法律制度比较及启示  网络首发</td>\n",
       "      <td>侯方淼; 李培; 陈勇</td>\n",
       "      <td>世界林业研究</td>\n",
       "      <td>2021-06-22 10:13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>43.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>9</td>\n",
       "      <td>国土空间生态保护与修复重大问题研究  网络首发</td>\n",
       "      <td>白中科</td>\n",
       "      <td>地学前缘</td>\n",
       "      <td>2021-06-21 17:46</td>\n",
       "      <td>NaN</td>\n",
       "      <td>199.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>10</td>\n",
       "      <td>论人工科学、人居环境科学、事理学的同一性</td>\n",
       "      <td>胡飞; 米江辉</td>\n",
       "      <td>包装工程</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>34.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>11</td>\n",
       "      <td>我国草原恢复与保护的问题与对策</td>\n",
       "      <td>潘庆民;孙佳美;杨元合;刘伟;李昂</td>\n",
       "      <td>中国科学院院刊</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>12</td>\n",
       "      <td>生态环境保护下中国林业的可持续发展策略</td>\n",
       "      <td>谢利娟; 王茸仙; 刘慧</td>\n",
       "      <td>林产工业</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>67.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>13</td>\n",
       "      <td>宏观生态系统科学整合研究的多学科知识融合及其技术途径  网络首发</td>\n",
       "      <td>于贵瑞; 任小丽; 杨萌; 陈智</td>\n",
       "      <td>应用生态学报</td>\n",
       "      <td>2021-06-18 16:28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>74.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>14</td>\n",
       "      <td>吉林省生态保护红线分布特征及其监管体系研究</td>\n",
       "      <td>王媛;庄雨适;孙大光;李昂;宋明晓</td>\n",
       "      <td>东北师大学报(自然科学版)</td>\n",
       "      <td>2021-06-18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>15</td>\n",
       "      <td>以“大保护、大开放、高质量”构建西部大开发新格局的思路研究</td>\n",
       "      <td>李海龙; 高德步; 谢毓兰</td>\n",
       "      <td>宏观经济研究</td>\n",
       "      <td>2021-06-18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>16</td>\n",
       "      <td>基于生态保护红线管理的塔里木河流域土地利用模拟及生态效益评价  网络首发</td>\n",
       "      <td>楚智; 徐长春; 罗映雪; 孙琪</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-06-15 16:32</td>\n",
       "      <td>NaN</td>\n",
       "      <td>136.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>17</td>\n",
       "      <td>基于脑科学的教学设计原则研究</td>\n",
       "      <td>程岭; 马翠; 程琳; 时琦; 郑海凤</td>\n",
       "      <td>现代教育技术</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>38.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>18</td>\n",
       "      <td>陆海统筹视域下我国生态环境保护法律体系重构</td>\n",
       "      <td>李挚萍</td>\n",
       "      <td>中州学刊</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>19</td>\n",
       "      <td>基于公众科学及分众传播的国家公园宣传推广——以神农架国家公园为例</td>\n",
       "      <td>蔡凌楚; 赵慧; 赵本元; 谭路</td>\n",
       "      <td>长江流域资源与环境</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>20</td>\n",
       "      <td>构建科学运行机制 指导公司治理实践——评《中国公司治理的理论与证据》</td>\n",
       "      <td>鲁迪; 缪小明</td>\n",
       "      <td>山西财经大学学报</td>\n",
       "      <td>2021-06-11 16:22</td>\n",
       "      <td>NaN</td>\n",
       "      <td>107.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>21</td>\n",
       "      <td>长江科学院牵头完成的“农村水电绿色发展若干关键技术研究及应用”获大禹水利科学技术奖科技进步二等奖</td>\n",
       "      <td>NaN</td>\n",
       "      <td>长江科学院院报</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>22</td>\n",
       "      <td>长江河湖保护与修复高端论坛倡议书</td>\n",
       "      <td>NaN</td>\n",
       "      <td>长江科学院院报</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>23</td>\n",
       "      <td>《环境科学》再获“百种中国杰出学术期刊”称号</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>39.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>24</td>\n",
       "      <td>《环境科学》连续9次荣获“中国最具国际影响力学术期刊”称号</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>25</td>\n",
       "      <td>《环境科学》多项引证指标名列前茅</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>26</td>\n",
       "      <td>中国自然保护地旅游产品类型及其特征</td>\n",
       "      <td>谢冶凤; 吴必虎; 张玉钧; 王梦婷</td>\n",
       "      <td>地域研究与开发</td>\n",
       "      <td>2021-06-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>84.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>27</td>\n",
       "      <td>新时代黄河流域生态治理机制研究——评《黄河流域生态保护和高质量发展报告》</td>\n",
       "      <td>刘素娟</td>\n",
       "      <td>人民黄河</td>\n",
       "      <td>2021-06-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>118.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>28</td>\n",
       "      <td>煤炭城市山水林田湖草生态保护修复分区及规划策略研究——以古交市为例</td>\n",
       "      <td>常江; 李灿坤; 冯姗姗; 李成</td>\n",
       "      <td>生态经济</td>\n",
       "      <td>2021-06-09</td>\n",
       "      <td>NaN</td>\n",
       "      <td>182.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>29</td>\n",
       "      <td>智能时代的教育科学研究：内涵、逻辑框架与实践进路</td>\n",
       "      <td>郑永和; 王杨春晓; 王一岩</td>\n",
       "      <td>中国远程教育</td>\n",
       "      <td>2021-06-09</td>\n",
       "      <td>NaN</td>\n",
       "      <td>458.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>30</td>\n",
       "      <td>厦门市重点保护植物空间优先保护格局研究</td>\n",
       "      <td>钱灵颖; 黄智洵; 杨盛昌; 曹文志</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-06-08</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>31</td>\n",
       "      <td>珊瑚礁鱼类多样性及保护研究进展  网络首发</td>\n",
       "      <td>代血娇; 张俊; 陈作志</td>\n",
       "      <td>生态学杂志</td>\n",
       "      <td>2021-06-07 13:43</td>\n",
       "      <td>NaN</td>\n",
       "      <td>186.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>32</td>\n",
       "      <td>耕地数量、质量、生态“三位一体”视角下我国东北黑土地保护现状及其实现路径选择研究</td>\n",
       "      <td>刘洪彬;李顺婷;吴梦瑶;孙福军;王秋兵</td>\n",
       "      <td>土壤通报</td>\n",
       "      <td>2021-06-06</td>\n",
       "      <td>NaN</td>\n",
       "      <td>222.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>33</td>\n",
       "      <td>红树林地区法律保护的财产权补偿公正性研究</td>\n",
       "      <td>谢福荣</td>\n",
       "      <td>农业经济</td>\n",
       "      <td>2021-06-04</td>\n",
       "      <td>NaN</td>\n",
       "      <td>33.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>34</td>\n",
       "      <td>我国旅游地理研究格局及热点分析——基于2000—2019年国家自然科学基金旅游课题立项的研究</td>\n",
       "      <td>雷彬; 李松志; 张祚</td>\n",
       "      <td>世界地理研究</td>\n",
       "      <td>2021-05-30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>242.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>35</td>\n",
       "      <td>2021年宇航领域科学问题和技术难题在中国航天大会发布</td>\n",
       "      <td>NaN</td>\n",
       "      <td>宇航学报</td>\n",
       "      <td>2021-05-30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>36</td>\n",
       "      <td>休养生息制度背景下的中国耕地保护转型目标框架与路径  网络首发</td>\n",
       "      <td>孔祥斌</td>\n",
       "      <td>湖南师范大学社会科学学报</td>\n",
       "      <td>2021-05-28 16:23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>254.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>37</td>\n",
       "      <td>机载高光谱成像技术在长江经济带苏、皖、浙地区生态环境保护中的作用  网络首发</td>\n",
       "      <td>修连存;郑志忠;杨彬;殷靓;高扬</td>\n",
       "      <td>中国地质</td>\n",
       "      <td>2021-05-28 13:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>140.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>38</td>\n",
       "      <td>凝聚学会资源 助力深入打好污染防治攻坚战——访中国环境科学学会副理事长、秘书长李春红</td>\n",
       "      <td>祝叶华</td>\n",
       "      <td>科技导报</td>\n",
       "      <td>2021-05-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>39</td>\n",
       "      <td>黄河流域生态保护的科学传播路径</td>\n",
       "      <td>侯丙孬</td>\n",
       "      <td>中学政治教学参考</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>73.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>40</td>\n",
       "      <td>喜讯:《环境与职业医学》入选中国科学引文数据库(2021-2022,核心库)来源期刊</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境与职业医学</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>41</td>\n",
       "      <td>生态保护下的法律问题思考——评《当代环境保护问题的法律应对》</td>\n",
       "      <td>张梅爱</td>\n",
       "      <td>热带作物学报</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>42</td>\n",
       "      <td>打造美丽中国建设的先行示范区——《长江三角洲区域生态环境共同保护规划》解读</td>\n",
       "      <td>葛察忠; 程翠云; 杜艳春; 董战峰</td>\n",
       "      <td>环境保护</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>56.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>43</td>\n",
       "      <td>环境科学与工程专业创新设计课程教学实践研究</td>\n",
       "      <td>胡清; 王超; 黄燕鹏; 王宏</td>\n",
       "      <td>实验室研究与探索</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>44</td>\n",
       "      <td>对马克思恩格斯生态文明思想科学认识论的探索</td>\n",
       "      <td>李超超</td>\n",
       "      <td>学校党建与思想教育</td>\n",
       "      <td>2021-05-23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>334.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>45</td>\n",
       "      <td>基于系统保护规划的海河流域湿地保护优先格局与保护空缺识别</td>\n",
       "      <td>穆泳林;梁晨;李晓文;白军红;崔保山</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-05-23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>46</td>\n",
       "      <td>“三生空间”统筹的科学基础与优化途径探析</td>\n",
       "      <td>江东; 林刚; 付晶莹</td>\n",
       "      <td>自然资源学报</td>\n",
       "      <td>2021-05-21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>735.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>47</td>\n",
       "      <td>“半个地球”愿景下的保护地识别——基于全球主要优先保护模块</td>\n",
       "      <td>王博宇; 闫慧敏; 胡云锋; 封志明</td>\n",
       "      <td>自然资源学报</td>\n",
       "      <td>2021-05-21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>147.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>48</td>\n",
       "      <td>科技创新推进黑土地保护与利用,齐力维护国家粮食安全——用好养好黑土地的对策建议</td>\n",
       "      <td>梁爱珍; 李禄军; 祝惠</td>\n",
       "      <td>中国科学院院刊</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>301.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>49</td>\n",
       "      <td>暨南大学生命科学技术学院莫测辉教授团队</td>\n",
       "      <td>NaN</td>\n",
       "      <td>农业环境科学学报</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>17.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>50</td>\n",
       "      <td>《中国环境科学》核心影响因子学科排名实现五连冠</td>\n",
       "      <td>NaN</td>\n",
       "      <td>中国环境科学</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    Unnamed: 0                                                篇名  \\\n",
       "0            1                         长江南京段沿江岸线景观资源保护对策探讨  网络首发   \n",
       "1            2                     重庆市生态保护红线内的生态系统服务动态变化评估  网络首发   \n",
       "2            3               长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例   \n",
       "3            4                    县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例   \n",
       "4            5                                 中国石油发布2020年环境保护公报   \n",
       "5            6                      基于保护和利用视角下的松岭村乡土景观资源评价  网络首发   \n",
       "6            7                              黑土地保护的激励补偿机制构建  网络首发   \n",
       "7            8                         世界部分国家湿地保护法律制度比较及启示  网络首发   \n",
       "8            9                           国土空间生态保护与修复重大问题研究  网络首发   \n",
       "9           10                              论人工科学、人居环境科学、事理学的同一性   \n",
       "10          11                                   我国草原恢复与保护的问题与对策   \n",
       "11          12                               生态环境保护下中国林业的可持续发展策略   \n",
       "12          13                  宏观生态系统科学整合研究的多学科知识融合及其技术途径  网络首发   \n",
       "13          14                             吉林省生态保护红线分布特征及其监管体系研究   \n",
       "14          15                     以“大保护、大开放、高质量”构建西部大开发新格局的思路研究   \n",
       "15          16              基于生态保护红线管理的塔里木河流域土地利用模拟及生态效益评价  网络首发   \n",
       "16          17                                    基于脑科学的教学设计原则研究   \n",
       "17          18                             陆海统筹视域下我国生态环境保护法律体系重构   \n",
       "18          19                  基于公众科学及分众传播的国家公园宣传推广——以神农架国家公园为例   \n",
       "19          20                构建科学运行机制 指导公司治理实践——评《中国公司治理的理论与证据》   \n",
       "20          21  长江科学院牵头完成的“农村水电绿色发展若干关键技术研究及应用”获大禹水利科学技术奖科技进步二等奖   \n",
       "21          22                                  长江河湖保护与修复高端论坛倡议书   \n",
       "22          23                            《环境科学》再获“百种中国杰出学术期刊”称号   \n",
       "23          24                     《环境科学》连续9次荣获“中国最具国际影响力学术期刊”称号   \n",
       "24          25                                  《环境科学》多项引证指标名列前茅   \n",
       "25          26                                 中国自然保护地旅游产品类型及其特征   \n",
       "26          27              新时代黄河流域生态治理机制研究——评《黄河流域生态保护和高质量发展报告》   \n",
       "27          28                 煤炭城市山水林田湖草生态保护修复分区及规划策略研究——以古交市为例   \n",
       "28          29                          智能时代的教育科学研究：内涵、逻辑框架与实践进路   \n",
       "29          30                               厦门市重点保护植物空间优先保护格局研究   \n",
       "30          31                             珊瑚礁鱼类多样性及保护研究进展  网络首发   \n",
       "31          32          耕地数量、质量、生态“三位一体”视角下我国东北黑土地保护现状及其实现路径选择研究   \n",
       "32          33                              红树林地区法律保护的财产权补偿公正性研究   \n",
       "33          34    我国旅游地理研究格局及热点分析——基于2000—2019年国家自然科学基金旅游课题立项的研究   \n",
       "34          35                       2021年宇航领域科学问题和技术难题在中国航天大会发布   \n",
       "35          36                   休养生息制度背景下的中国耕地保护转型目标框架与路径  网络首发   \n",
       "36          37            机载高光谱成像技术在长江经济带苏、皖、浙地区生态环境保护中的作用  网络首发   \n",
       "37          38        凝聚学会资源 助力深入打好污染防治攻坚战——访中国环境科学学会副理事长、秘书长李春红   \n",
       "38          39                                   黄河流域生态保护的科学传播路径   \n",
       "39          40        喜讯:《环境与职业医学》入选中国科学引文数据库(2021-2022,核心库)来源期刊   \n",
       "40          41                    生态保护下的法律问题思考——评《当代环境保护问题的法律应对》   \n",
       "41          42             打造美丽中国建设的先行示范区——《长江三角洲区域生态环境共同保护规划》解读   \n",
       "42          43                             环境科学与工程专业创新设计课程教学实践研究   \n",
       "43          44                             对马克思恩格斯生态文明思想科学认识论的探索   \n",
       "44          45                      基于系统保护规划的海河流域湿地保护优先格局与保护空缺识别   \n",
       "45          46                              “三生空间”统筹的科学基础与优化途径探析   \n",
       "46          47                     “半个地球”愿景下的保护地识别——基于全球主要优先保护模块   \n",
       "47          48           科技创新推进黑土地保护与利用,齐力维护国家粮食安全——用好养好黑土地的对策建议   \n",
       "48          49                               暨南大学生命科学技术学院莫测辉教授团队   \n",
       "49          50                           《中国环境科学》核心影响因子学科排名实现五连冠   \n",
       "\n",
       "                        作者               刊名              发表时间  被引     下载  操作  \n",
       "0   唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶             人民长江  2021-07-01 14:42 NaN    NaN  下载  \n",
       "1            官冬杰; 黄大楠; 殷博灵  重庆交通大学学报(自然科学版)  2021-06-28 11:35 NaN   63.0  下载  \n",
       "2              单文华;徐春峰;李德昌             人民长江        2021-06-28 NaN    NaN  下载  \n",
       "3    牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖        生态与农村环境学报        2021-06-25 NaN   25.0  下载  \n",
       "4                       天工            天然气工业        2021-06-25 NaN    NaN  下载  \n",
       "5      王烨梓;韦宝婧;胡希军;蒋紫君;杜心宇          西北林学院学报  2021-06-24 10:18 NaN   58.0  下载  \n",
       "6                 崔宁波; 生世玉             长白学刊  2021-06-22 15:53 NaN   25.0  下载  \n",
       "7              侯方淼; 李培; 陈勇           世界林业研究  2021-06-22 10:13 NaN   43.0  下载  \n",
       "8                      白中科             地学前缘  2021-06-21 17:46 NaN  199.0  下载  \n",
       "9                  胡飞; 米江辉             包装工程        2021-06-20 NaN   34.0  下载  \n",
       "10       潘庆民;孙佳美;杨元合;刘伟;李昂          中国科学院院刊        2021-06-20 NaN   63.0  下载  \n",
       "11            谢利娟; 王茸仙; 刘慧             林产工业        2021-06-20 NaN   67.0  下载  \n",
       "12        于贵瑞; 任小丽; 杨萌; 陈智           应用生态学报  2021-06-18 16:28 NaN   74.0  下载  \n",
       "13       王媛;庄雨适;孙大光;李昂;宋明晓    东北师大学报(自然科学版)        2021-06-18 NaN   58.0  下载  \n",
       "14           李海龙; 高德步; 谢毓兰           宏观经济研究        2021-06-18 NaN   18.0  下载  \n",
       "15        楚智; 徐长春; 罗映雪; 孙琪             生态学报  2021-06-15 16:32 NaN  136.0  下载  \n",
       "16     程岭; 马翠; 程琳; 时琦; 郑海凤           现代教育技术        2021-06-15 NaN   38.0  下载  \n",
       "17                     李挚萍             中州学刊        2021-06-15 NaN    6.0  下载  \n",
       "18        蔡凌楚; 赵慧; 赵本元; 谭路        长江流域资源与环境        2021-06-15 NaN    NaN  下载  \n",
       "19                 鲁迪; 缪小明         山西财经大学学报  2021-06-11 16:22 NaN  107.0  下载  \n",
       "20                     NaN          长江科学院院报        2021-06-11 NaN    7.0  下载  \n",
       "21                     NaN          长江科学院院报        2021-06-11 NaN   18.0  下载  \n",
       "22                     NaN             环境科学        2021-06-11 NaN   39.0  下载  \n",
       "23                     NaN             环境科学        2021-06-11 NaN    7.0  下载  \n",
       "24                     NaN             环境科学        2021-06-11 NaN   18.0  下载  \n",
       "25      谢冶凤; 吴必虎; 张玉钧; 王梦婷          地域研究与开发        2021-06-10 NaN   84.0  下载  \n",
       "26                     刘素娟             人民黄河        2021-06-10 NaN  118.0  下载  \n",
       "27        常江; 李灿坤; 冯姗姗; 李成             生态经济        2021-06-09 NaN  182.0  下载  \n",
       "28          郑永和; 王杨春晓; 王一岩           中国远程教育        2021-06-09 NaN  458.0  下载  \n",
       "29      钱灵颖; 黄智洵; 杨盛昌; 曹文志             生态学报        2021-06-08 NaN    NaN  下载  \n",
       "30            代血娇; 张俊; 陈作志            生态学杂志  2021-06-07 13:43 NaN  186.0  下载  \n",
       "31     刘洪彬;李顺婷;吴梦瑶;孙福军;王秋兵             土壤通报        2021-06-06 NaN  222.0  下载  \n",
       "32                     谢福荣             农业经济        2021-06-04 NaN   33.0  下载  \n",
       "33             雷彬; 李松志; 张祚           世界地理研究        2021-05-30 NaN  242.0  下载  \n",
       "34                     NaN             宇航学报        2021-05-30 NaN   10.0  下载  \n",
       "35                     孔祥斌     湖南师范大学社会科学学报  2021-05-28 16:23 NaN  254.0  下载  \n",
       "36        修连存;郑志忠;杨彬;殷靓;高扬             中国地质  2021-05-28 13:42 NaN  140.0  下载  \n",
       "37                     祝叶华             科技导报        2021-05-28 NaN    1.0  下载  \n",
       "38                     侯丙孬         中学政治教学参考        2021-05-25 NaN   73.0  下载  \n",
       "39                     NaN          环境与职业医学        2021-05-25 NaN    3.0  下载  \n",
       "40                     张梅爱           热带作物学报        2021-05-25 NaN  100.0  下载  \n",
       "41      葛察忠; 程翠云; 杜艳春; 董战峰             环境保护        2021-05-25 NaN   56.0  下载  \n",
       "42         胡清; 王超; 黄燕鹏; 王宏         实验室研究与探索        2021-05-25 NaN   18.0  下载  \n",
       "43                     李超超        学校党建与思想教育        2021-05-23 NaN  334.0  下载  \n",
       "44      穆泳林;梁晨;李晓文;白军红;崔保山             生态学报        2021-05-23 NaN   25.0  下载  \n",
       "45             江东; 林刚; 付晶莹           自然资源学报        2021-05-21 NaN  735.0  下载  \n",
       "46      王博宇; 闫慧敏; 胡云锋; 封志明           自然资源学报        2021-05-21 NaN  147.0  下载  \n",
       "47            梁爱珍; 李禄军; 祝惠          中国科学院院刊        2021-05-20 NaN  301.0  下载  \n",
       "48                     NaN         农业环境科学学报        2021-05-20 NaN   17.0  下载  \n",
       "49                     NaN           中国环境科学        2021-05-20 NaN   11.0  下载  "
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "element = driver.find_element_by_xpath('//div[@id=\"gridTable\"]')\n",
    "web_content = element.get_attribute('innerHTML')\n",
    "首页主要数据=pd.read_html(web_content)[0]\n",
    "首页主要数据"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 获取详细页的链接并与基本信息表格合并"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https://kns.cnki.net/kcms/detail/detail.aspx?urlid=42.1202.TV.20210701.1249.002&filename=RIVE20210701000&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=50.1190.U.20210628.1008.002&filename=CQJT20210627000&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=RIVE2021S1079&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=NCST202106012&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=TRQG202106026&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=61.1202.s.20210623.1726.002&filename=XBLX20210623000&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=22.1009.D.20210622.1300.003&filename=CBXK20210621001&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=11.2080.s.20210621.1545.001&filename=SJLY20210621000&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=11.3370.P.20210621.1614.002&filename=DXQY20210621000&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=BZGC202112009&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=KYYX202106006&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=LCGY202106025&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=21.1253.Q.20210618.1539.002&filename=YYSB20210618000&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=DBSZ202102019&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=JJGA202106007&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=11.2031.Q.20210615.1030.007&filename=STXB2021061500F&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=XJJS202106005&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=ZZXK202106009&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=CJLY202106024&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=14.1221.F.20210610.1532.013&filename=SXCJ202107011&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=CJKB202106029&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=CJKB202106031&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=HJKZ202106050&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=HJKZ202106054&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=HJKZ202106057&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=DYYY202103012&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=RMHH202106038&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=STJJ202106036&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=DDJY202106002&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=STXB202111012&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=21.1148.Q.20210607.1127.008&filename=STXZ2021060400N&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=TRTB202103005&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=NYJJ202106039&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=SJDJ202103018&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=YHXB202105001&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=43.1541.C.20210528.0958.017&filename=HNSS2021052800G&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=11.1167.P.20210528.1012.002&filename=DIZI20210526002&dbname=CAPJLAST',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=KJDB202110016&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=ZXZZ202120010&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=LDYX202105004&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=RDZX202105066&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=HJBU202110001&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=SYSY202105048&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=XXDJ202110004&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=STXB202110010&dbname=CJFDAUTO',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=ZRZX202105001&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=ZRZX202105002&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=KYYX202105007&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=NHBH202105004&dbname=CJFDLAST2021',\n",
       " 'https://kns.cnki.net/kcms/detail/detail.aspx?urlid=&filename=ZGHJ202105007&dbname=CJFDLAST2021']"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 解析页面获取链接\n",
    "html=driver.page_source\n",
    "root=fromstring(html)\n",
    "href = [x for x in root.xpath('.//*[@id=\"gridTable\"]/table/tbody/tr/td[2]/a/@href')]\n",
    "# 将获取的链接改为正确的链接\n",
    "c_link=['https://kns.cnki.net/kcms/detail/detail.aspx?'+x.split('&')[6]+'&'+x.split('&')[5]+'&'+x.split('&')[4] for x in href]\n",
    "c_link"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>篇名</th>\n",
       "      <th>作者</th>\n",
       "      <th>刊名</th>\n",
       "      <th>发表时间</th>\n",
       "      <th>被引</th>\n",
       "      <th>下载</th>\n",
       "      <th>操作</th>\n",
       "      <th>页面链接</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>长江南京段沿江岸线景观资源保护对策探讨  网络首发</td>\n",
       "      <td>唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-07-01 14:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>重庆市生态保护红线内的生态系统服务动态变化评估  网络首发</td>\n",
       "      <td>官冬杰; 黄大楠; 殷博灵</td>\n",
       "      <td>重庆交通大学学报(自然科学版)</td>\n",
       "      <td>2021-06-28 11:35</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例</td>\n",
       "      <td>单文华;徐春峰;李德昌</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-06-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例</td>\n",
       "      <td>牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖</td>\n",
       "      <td>生态与农村环境学报</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>中国石油发布2020年环境保护公报</td>\n",
       "      <td>天工</td>\n",
       "      <td>天然气工业</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>6</td>\n",
       "      <td>基于保护和利用视角下的松岭村乡土景观资源评价  网络首发</td>\n",
       "      <td>王烨梓;韦宝婧;胡希军;蒋紫君;杜心宇</td>\n",
       "      <td>西北林学院学报</td>\n",
       "      <td>2021-06-24 10:18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>7</td>\n",
       "      <td>黑土地保护的激励补偿机制构建  网络首发</td>\n",
       "      <td>崔宁波; 生世玉</td>\n",
       "      <td>长白学刊</td>\n",
       "      <td>2021-06-22 15:53</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>8</td>\n",
       "      <td>世界部分国家湿地保护法律制度比较及启示  网络首发</td>\n",
       "      <td>侯方淼; 李培; 陈勇</td>\n",
       "      <td>世界林业研究</td>\n",
       "      <td>2021-06-22 10:13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>43.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>9</td>\n",
       "      <td>国土空间生态保护与修复重大问题研究  网络首发</td>\n",
       "      <td>白中科</td>\n",
       "      <td>地学前缘</td>\n",
       "      <td>2021-06-21 17:46</td>\n",
       "      <td>NaN</td>\n",
       "      <td>199.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>10</td>\n",
       "      <td>论人工科学、人居环境科学、事理学的同一性</td>\n",
       "      <td>胡飞; 米江辉</td>\n",
       "      <td>包装工程</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>34.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>11</td>\n",
       "      <td>我国草原恢复与保护的问题与对策</td>\n",
       "      <td>潘庆民;孙佳美;杨元合;刘伟;李昂</td>\n",
       "      <td>中国科学院院刊</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>12</td>\n",
       "      <td>生态环境保护下中国林业的可持续发展策略</td>\n",
       "      <td>谢利娟; 王茸仙; 刘慧</td>\n",
       "      <td>林产工业</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>67.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>13</td>\n",
       "      <td>宏观生态系统科学整合研究的多学科知识融合及其技术途径  网络首发</td>\n",
       "      <td>于贵瑞; 任小丽; 杨萌; 陈智</td>\n",
       "      <td>应用生态学报</td>\n",
       "      <td>2021-06-18 16:28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>74.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>14</td>\n",
       "      <td>吉林省生态保护红线分布特征及其监管体系研究</td>\n",
       "      <td>王媛;庄雨适;孙大光;李昂;宋明晓</td>\n",
       "      <td>东北师大学报(自然科学版)</td>\n",
       "      <td>2021-06-18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>15</td>\n",
       "      <td>以“大保护、大开放、高质量”构建西部大开发新格局的思路研究</td>\n",
       "      <td>李海龙; 高德步; 谢毓兰</td>\n",
       "      <td>宏观经济研究</td>\n",
       "      <td>2021-06-18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>16</td>\n",
       "      <td>基于生态保护红线管理的塔里木河流域土地利用模拟及生态效益评价  网络首发</td>\n",
       "      <td>楚智; 徐长春; 罗映雪; 孙琪</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-06-15 16:32</td>\n",
       "      <td>NaN</td>\n",
       "      <td>136.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>17</td>\n",
       "      <td>基于脑科学的教学设计原则研究</td>\n",
       "      <td>程岭; 马翠; 程琳; 时琦; 郑海凤</td>\n",
       "      <td>现代教育技术</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>38.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>18</td>\n",
       "      <td>陆海统筹视域下我国生态环境保护法律体系重构</td>\n",
       "      <td>李挚萍</td>\n",
       "      <td>中州学刊</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>19</td>\n",
       "      <td>基于公众科学及分众传播的国家公园宣传推广——以神农架国家公园为例</td>\n",
       "      <td>蔡凌楚; 赵慧; 赵本元; 谭路</td>\n",
       "      <td>长江流域资源与环境</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>20</td>\n",
       "      <td>构建科学运行机制 指导公司治理实践——评《中国公司治理的理论与证据》</td>\n",
       "      <td>鲁迪; 缪小明</td>\n",
       "      <td>山西财经大学学报</td>\n",
       "      <td>2021-06-11 16:22</td>\n",
       "      <td>NaN</td>\n",
       "      <td>107.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>21</td>\n",
       "      <td>长江科学院牵头完成的“农村水电绿色发展若干关键技术研究及应用”获大禹水利科学技术奖科技进步二等奖</td>\n",
       "      <td>NaN</td>\n",
       "      <td>长江科学院院报</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>22</td>\n",
       "      <td>长江河湖保护与修复高端论坛倡议书</td>\n",
       "      <td>NaN</td>\n",
       "      <td>长江科学院院报</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>23</td>\n",
       "      <td>《环境科学》再获“百种中国杰出学术期刊”称号</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>39.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>24</td>\n",
       "      <td>《环境科学》连续9次荣获“中国最具国际影响力学术期刊”称号</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>25</td>\n",
       "      <td>《环境科学》多项引证指标名列前茅</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>26</td>\n",
       "      <td>中国自然保护地旅游产品类型及其特征</td>\n",
       "      <td>谢冶凤; 吴必虎; 张玉钧; 王梦婷</td>\n",
       "      <td>地域研究与开发</td>\n",
       "      <td>2021-06-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>84.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>27</td>\n",
       "      <td>新时代黄河流域生态治理机制研究——评《黄河流域生态保护和高质量发展报告》</td>\n",
       "      <td>刘素娟</td>\n",
       "      <td>人民黄河</td>\n",
       "      <td>2021-06-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>118.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>28</td>\n",
       "      <td>煤炭城市山水林田湖草生态保护修复分区及规划策略研究——以古交市为例</td>\n",
       "      <td>常江; 李灿坤; 冯姗姗; 李成</td>\n",
       "      <td>生态经济</td>\n",
       "      <td>2021-06-09</td>\n",
       "      <td>NaN</td>\n",
       "      <td>182.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>29</td>\n",
       "      <td>智能时代的教育科学研究：内涵、逻辑框架与实践进路</td>\n",
       "      <td>郑永和; 王杨春晓; 王一岩</td>\n",
       "      <td>中国远程教育</td>\n",
       "      <td>2021-06-09</td>\n",
       "      <td>NaN</td>\n",
       "      <td>458.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>30</td>\n",
       "      <td>厦门市重点保护植物空间优先保护格局研究</td>\n",
       "      <td>钱灵颖; 黄智洵; 杨盛昌; 曹文志</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-06-08</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>31</td>\n",
       "      <td>珊瑚礁鱼类多样性及保护研究进展  网络首发</td>\n",
       "      <td>代血娇; 张俊; 陈作志</td>\n",
       "      <td>生态学杂志</td>\n",
       "      <td>2021-06-07 13:43</td>\n",
       "      <td>NaN</td>\n",
       "      <td>186.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>32</td>\n",
       "      <td>耕地数量、质量、生态“三位一体”视角下我国东北黑土地保护现状及其实现路径选择研究</td>\n",
       "      <td>刘洪彬;李顺婷;吴梦瑶;孙福军;王秋兵</td>\n",
       "      <td>土壤通报</td>\n",
       "      <td>2021-06-06</td>\n",
       "      <td>NaN</td>\n",
       "      <td>222.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>33</td>\n",
       "      <td>红树林地区法律保护的财产权补偿公正性研究</td>\n",
       "      <td>谢福荣</td>\n",
       "      <td>农业经济</td>\n",
       "      <td>2021-06-04</td>\n",
       "      <td>NaN</td>\n",
       "      <td>33.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>34</td>\n",
       "      <td>我国旅游地理研究格局及热点分析——基于2000—2019年国家自然科学基金旅游课题立项的研究</td>\n",
       "      <td>雷彬; 李松志; 张祚</td>\n",
       "      <td>世界地理研究</td>\n",
       "      <td>2021-05-30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>242.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>35</td>\n",
       "      <td>2021年宇航领域科学问题和技术难题在中国航天大会发布</td>\n",
       "      <td>NaN</td>\n",
       "      <td>宇航学报</td>\n",
       "      <td>2021-05-30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>36</td>\n",
       "      <td>休养生息制度背景下的中国耕地保护转型目标框架与路径  网络首发</td>\n",
       "      <td>孔祥斌</td>\n",
       "      <td>湖南师范大学社会科学学报</td>\n",
       "      <td>2021-05-28 16:23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>254.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>37</td>\n",
       "      <td>机载高光谱成像技术在长江经济带苏、皖、浙地区生态环境保护中的作用  网络首发</td>\n",
       "      <td>修连存;郑志忠;杨彬;殷靓;高扬</td>\n",
       "      <td>中国地质</td>\n",
       "      <td>2021-05-28 13:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>140.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>38</td>\n",
       "      <td>凝聚学会资源 助力深入打好污染防治攻坚战——访中国环境科学学会副理事长、秘书长李春红</td>\n",
       "      <td>祝叶华</td>\n",
       "      <td>科技导报</td>\n",
       "      <td>2021-05-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>39</td>\n",
       "      <td>黄河流域生态保护的科学传播路径</td>\n",
       "      <td>侯丙孬</td>\n",
       "      <td>中学政治教学参考</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>73.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>40</td>\n",
       "      <td>喜讯:《环境与职业医学》入选中国科学引文数据库(2021-2022,核心库)来源期刊</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境与职业医学</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>41</td>\n",
       "      <td>生态保护下的法律问题思考——评《当代环境保护问题的法律应对》</td>\n",
       "      <td>张梅爱</td>\n",
       "      <td>热带作物学报</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>42</td>\n",
       "      <td>打造美丽中国建设的先行示范区——《长江三角洲区域生态环境共同保护规划》解读</td>\n",
       "      <td>葛察忠; 程翠云; 杜艳春; 董战峰</td>\n",
       "      <td>环境保护</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>56.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>43</td>\n",
       "      <td>环境科学与工程专业创新设计课程教学实践研究</td>\n",
       "      <td>胡清; 王超; 黄燕鹏; 王宏</td>\n",
       "      <td>实验室研究与探索</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>44</td>\n",
       "      <td>对马克思恩格斯生态文明思想科学认识论的探索</td>\n",
       "      <td>李超超</td>\n",
       "      <td>学校党建与思想教育</td>\n",
       "      <td>2021-05-23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>334.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>45</td>\n",
       "      <td>基于系统保护规划的海河流域湿地保护优先格局与保护空缺识别</td>\n",
       "      <td>穆泳林;梁晨;李晓文;白军红;崔保山</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-05-23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>46</td>\n",
       "      <td>“三生空间”统筹的科学基础与优化途径探析</td>\n",
       "      <td>江东; 林刚; 付晶莹</td>\n",
       "      <td>自然资源学报</td>\n",
       "      <td>2021-05-21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>735.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>47</td>\n",
       "      <td>“半个地球”愿景下的保护地识别——基于全球主要优先保护模块</td>\n",
       "      <td>王博宇; 闫慧敏; 胡云锋; 封志明</td>\n",
       "      <td>自然资源学报</td>\n",
       "      <td>2021-05-21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>147.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>48</td>\n",
       "      <td>科技创新推进黑土地保护与利用,齐力维护国家粮食安全——用好养好黑土地的对策建议</td>\n",
       "      <td>梁爱珍; 李禄军; 祝惠</td>\n",
       "      <td>中国科学院院刊</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>301.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>49</td>\n",
       "      <td>暨南大学生命科学技术学院莫测辉教授团队</td>\n",
       "      <td>NaN</td>\n",
       "      <td>农业环境科学学报</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>17.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>50</td>\n",
       "      <td>《中国环境科学》核心影响因子学科排名实现五连冠</td>\n",
       "      <td>NaN</td>\n",
       "      <td>中国环境科学</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    Unnamed: 0                                                篇名  \\\n",
       "0            1                         长江南京段沿江岸线景观资源保护对策探讨  网络首发   \n",
       "1            2                     重庆市生态保护红线内的生态系统服务动态变化评估  网络首发   \n",
       "2            3               长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例   \n",
       "3            4                    县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例   \n",
       "4            5                                 中国石油发布2020年环境保护公报   \n",
       "5            6                      基于保护和利用视角下的松岭村乡土景观资源评价  网络首发   \n",
       "6            7                              黑土地保护的激励补偿机制构建  网络首发   \n",
       "7            8                         世界部分国家湿地保护法律制度比较及启示  网络首发   \n",
       "8            9                           国土空间生态保护与修复重大问题研究  网络首发   \n",
       "9           10                              论人工科学、人居环境科学、事理学的同一性   \n",
       "10          11                                   我国草原恢复与保护的问题与对策   \n",
       "11          12                               生态环境保护下中国林业的可持续发展策略   \n",
       "12          13                  宏观生态系统科学整合研究的多学科知识融合及其技术途径  网络首发   \n",
       "13          14                             吉林省生态保护红线分布特征及其监管体系研究   \n",
       "14          15                     以“大保护、大开放、高质量”构建西部大开发新格局的思路研究   \n",
       "15          16              基于生态保护红线管理的塔里木河流域土地利用模拟及生态效益评价  网络首发   \n",
       "16          17                                    基于脑科学的教学设计原则研究   \n",
       "17          18                             陆海统筹视域下我国生态环境保护法律体系重构   \n",
       "18          19                  基于公众科学及分众传播的国家公园宣传推广——以神农架国家公园为例   \n",
       "19          20                构建科学运行机制 指导公司治理实践——评《中国公司治理的理论与证据》   \n",
       "20          21  长江科学院牵头完成的“农村水电绿色发展若干关键技术研究及应用”获大禹水利科学技术奖科技进步二等奖   \n",
       "21          22                                  长江河湖保护与修复高端论坛倡议书   \n",
       "22          23                            《环境科学》再获“百种中国杰出学术期刊”称号   \n",
       "23          24                     《环境科学》连续9次荣获“中国最具国际影响力学术期刊”称号   \n",
       "24          25                                  《环境科学》多项引证指标名列前茅   \n",
       "25          26                                 中国自然保护地旅游产品类型及其特征   \n",
       "26          27              新时代黄河流域生态治理机制研究——评《黄河流域生态保护和高质量发展报告》   \n",
       "27          28                 煤炭城市山水林田湖草生态保护修复分区及规划策略研究——以古交市为例   \n",
       "28          29                          智能时代的教育科学研究：内涵、逻辑框架与实践进路   \n",
       "29          30                               厦门市重点保护植物空间优先保护格局研究   \n",
       "30          31                             珊瑚礁鱼类多样性及保护研究进展  网络首发   \n",
       "31          32          耕地数量、质量、生态“三位一体”视角下我国东北黑土地保护现状及其实现路径选择研究   \n",
       "32          33                              红树林地区法律保护的财产权补偿公正性研究   \n",
       "33          34    我国旅游地理研究格局及热点分析——基于2000—2019年国家自然科学基金旅游课题立项的研究   \n",
       "34          35                       2021年宇航领域科学问题和技术难题在中国航天大会发布   \n",
       "35          36                   休养生息制度背景下的中国耕地保护转型目标框架与路径  网络首发   \n",
       "36          37            机载高光谱成像技术在长江经济带苏、皖、浙地区生态环境保护中的作用  网络首发   \n",
       "37          38        凝聚学会资源 助力深入打好污染防治攻坚战——访中国环境科学学会副理事长、秘书长李春红   \n",
       "38          39                                   黄河流域生态保护的科学传播路径   \n",
       "39          40        喜讯:《环境与职业医学》入选中国科学引文数据库(2021-2022,核心库)来源期刊   \n",
       "40          41                    生态保护下的法律问题思考——评《当代环境保护问题的法律应对》   \n",
       "41          42             打造美丽中国建设的先行示范区——《长江三角洲区域生态环境共同保护规划》解读   \n",
       "42          43                             环境科学与工程专业创新设计课程教学实践研究   \n",
       "43          44                             对马克思恩格斯生态文明思想科学认识论的探索   \n",
       "44          45                      基于系统保护规划的海河流域湿地保护优先格局与保护空缺识别   \n",
       "45          46                              “三生空间”统筹的科学基础与优化途径探析   \n",
       "46          47                     “半个地球”愿景下的保护地识别——基于全球主要优先保护模块   \n",
       "47          48           科技创新推进黑土地保护与利用,齐力维护国家粮食安全——用好养好黑土地的对策建议   \n",
       "48          49                               暨南大学生命科学技术学院莫测辉教授团队   \n",
       "49          50                           《中国环境科学》核心影响因子学科排名实现五连冠   \n",
       "\n",
       "                        作者               刊名              发表时间  被引     下载  操作  \\\n",
       "0   唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶             人民长江  2021-07-01 14:42 NaN    NaN  下载   \n",
       "1            官冬杰; 黄大楠; 殷博灵  重庆交通大学学报(自然科学版)  2021-06-28 11:35 NaN   63.0  下载   \n",
       "2              单文华;徐春峰;李德昌             人民长江        2021-06-28 NaN    NaN  下载   \n",
       "3    牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖        生态与农村环境学报        2021-06-25 NaN   25.0  下载   \n",
       "4                       天工            天然气工业        2021-06-25 NaN    NaN  下载   \n",
       "5      王烨梓;韦宝婧;胡希军;蒋紫君;杜心宇          西北林学院学报  2021-06-24 10:18 NaN   58.0  下载   \n",
       "6                 崔宁波; 生世玉             长白学刊  2021-06-22 15:53 NaN   25.0  下载   \n",
       "7              侯方淼; 李培; 陈勇           世界林业研究  2021-06-22 10:13 NaN   43.0  下载   \n",
       "8                      白中科             地学前缘  2021-06-21 17:46 NaN  199.0  下载   \n",
       "9                  胡飞; 米江辉             包装工程        2021-06-20 NaN   34.0  下载   \n",
       "10       潘庆民;孙佳美;杨元合;刘伟;李昂          中国科学院院刊        2021-06-20 NaN   63.0  下载   \n",
       "11            谢利娟; 王茸仙; 刘慧             林产工业        2021-06-20 NaN   67.0  下载   \n",
       "12        于贵瑞; 任小丽; 杨萌; 陈智           应用生态学报  2021-06-18 16:28 NaN   74.0  下载   \n",
       "13       王媛;庄雨适;孙大光;李昂;宋明晓    东北师大学报(自然科学版)        2021-06-18 NaN   58.0  下载   \n",
       "14           李海龙; 高德步; 谢毓兰           宏观经济研究        2021-06-18 NaN   18.0  下载   \n",
       "15        楚智; 徐长春; 罗映雪; 孙琪             生态学报  2021-06-15 16:32 NaN  136.0  下载   \n",
       "16     程岭; 马翠; 程琳; 时琦; 郑海凤           现代教育技术        2021-06-15 NaN   38.0  下载   \n",
       "17                     李挚萍             中州学刊        2021-06-15 NaN    6.0  下载   \n",
       "18        蔡凌楚; 赵慧; 赵本元; 谭路        长江流域资源与环境        2021-06-15 NaN    NaN  下载   \n",
       "19                 鲁迪; 缪小明         山西财经大学学报  2021-06-11 16:22 NaN  107.0  下载   \n",
       "20                     NaN          长江科学院院报        2021-06-11 NaN    7.0  下载   \n",
       "21                     NaN          长江科学院院报        2021-06-11 NaN   18.0  下载   \n",
       "22                     NaN             环境科学        2021-06-11 NaN   39.0  下载   \n",
       "23                     NaN             环境科学        2021-06-11 NaN    7.0  下载   \n",
       "24                     NaN             环境科学        2021-06-11 NaN   18.0  下载   \n",
       "25      谢冶凤; 吴必虎; 张玉钧; 王梦婷          地域研究与开发        2021-06-10 NaN   84.0  下载   \n",
       "26                     刘素娟             人民黄河        2021-06-10 NaN  118.0  下载   \n",
       "27        常江; 李灿坤; 冯姗姗; 李成             生态经济        2021-06-09 NaN  182.0  下载   \n",
       "28          郑永和; 王杨春晓; 王一岩           中国远程教育        2021-06-09 NaN  458.0  下载   \n",
       "29      钱灵颖; 黄智洵; 杨盛昌; 曹文志             生态学报        2021-06-08 NaN    NaN  下载   \n",
       "30            代血娇; 张俊; 陈作志            生态学杂志  2021-06-07 13:43 NaN  186.0  下载   \n",
       "31     刘洪彬;李顺婷;吴梦瑶;孙福军;王秋兵             土壤通报        2021-06-06 NaN  222.0  下载   \n",
       "32                     谢福荣             农业经济        2021-06-04 NaN   33.0  下载   \n",
       "33             雷彬; 李松志; 张祚           世界地理研究        2021-05-30 NaN  242.0  下载   \n",
       "34                     NaN             宇航学报        2021-05-30 NaN   10.0  下载   \n",
       "35                     孔祥斌     湖南师范大学社会科学学报  2021-05-28 16:23 NaN  254.0  下载   \n",
       "36        修连存;郑志忠;杨彬;殷靓;高扬             中国地质  2021-05-28 13:42 NaN  140.0  下载   \n",
       "37                     祝叶华             科技导报        2021-05-28 NaN    1.0  下载   \n",
       "38                     侯丙孬         中学政治教学参考        2021-05-25 NaN   73.0  下载   \n",
       "39                     NaN          环境与职业医学        2021-05-25 NaN    3.0  下载   \n",
       "40                     张梅爱           热带作物学报        2021-05-25 NaN  100.0  下载   \n",
       "41      葛察忠; 程翠云; 杜艳春; 董战峰             环境保护        2021-05-25 NaN   56.0  下载   \n",
       "42         胡清; 王超; 黄燕鹏; 王宏         实验室研究与探索        2021-05-25 NaN   18.0  下载   \n",
       "43                     李超超        学校党建与思想教育        2021-05-23 NaN  334.0  下载   \n",
       "44      穆泳林;梁晨;李晓文;白军红;崔保山             生态学报        2021-05-23 NaN   25.0  下载   \n",
       "45             江东; 林刚; 付晶莹           自然资源学报        2021-05-21 NaN  735.0  下载   \n",
       "46      王博宇; 闫慧敏; 胡云锋; 封志明           自然资源学报        2021-05-21 NaN  147.0  下载   \n",
       "47            梁爱珍; 李禄军; 祝惠          中国科学院院刊        2021-05-20 NaN  301.0  下载   \n",
       "48                     NaN         农业环境科学学报        2021-05-20 NaN   17.0  下载   \n",
       "49                     NaN           中国环境科学        2021-05-20 NaN   11.0  下载   \n",
       "\n",
       "                                                 页面链接  \n",
       "0   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "1   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "2   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "3   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "4   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "5   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "6   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "7   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "8   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "9   https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "10  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "11  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "12  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "13  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "14  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "15  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "16  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "17  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "18  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "19  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "20  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "21  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "22  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "23  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "24  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "25  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "26  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "27  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "28  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "29  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "30  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "31  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "32  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "33  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "34  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "35  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "36  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "37  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "38  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "39  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "40  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "41  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "42  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "43  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "44  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "45  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "46  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "47  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "48  https://kns.cnki.net/kcms/detail/detail.aspx?u...  \n",
       "49  https://kns.cnki.net/kcms/detail/detail.aspx?u...  "
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "links=[]\n",
    "for link in c_link:\n",
    "#     link=correct(link)\n",
    "    links.append(link)\n",
    "    df_links=pd.DataFrame({'页面链接':links})\n",
    "    df_表格合并=pd.concat([pd.read_html(web_content)[0],df_links],axis=1)\n",
    "df_表格合并  "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 获取详细页面pdf的下载链接"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [],
   "source": [
    "pdf_links=[]\n",
    "for url in c_link:\n",
    "    session = HTMLSession()\n",
    "    r = session.get( url )\n",
    "    pdf_link_xpath=r.html.xpath('//*[@id=\"pdfDown\"]/@href')[1]\n",
    "    pdf_links.append(pdf_link_xpath)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['/kcms/download.aspx?filename=nFzbHpme2tydzJ3crVUeZZGMqRDVvp3Uwc3ZMRTTPRzVNRDbUVkUV9ic0smRyVEUsVlUV5mZNNFZQN2d1kjS1d2SRFzVKREb4QWN4s2ZGVEckpUc5FUMmlWe1tGRVlmMjlWZCJXNSVDMrRFZMBlY5M1R1sWMmdjM&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=YdFNJdnbMR2cnpmThhXc0EkUUBFT6FHW1AjaLRnbwZTYpNUWkJnV6lTatNVUIlXYNJVeMRnQv9kYnplRjR3QMdXSDlUUldWS3c0a1I0cZljTPhFdV1WehJERsZmd4gUcrAFSwcWZtJmVzU2dsdGMVJkTXJEazpmW&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5UMzJGZZdEdm1mMrRGb0IUTXhzKO9GOY90Ux8EbuhlYxEWeH1UMzAFbopXdj1WT=0TUVxkbwBFNxR3KYNmc2k2MshEdllVOI5mMGlmaiNHZygWYGZUOadGMq9WQuBTah1mWPtCbxRWNN1&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5UMzJGZZdEdm1mMrRGb0IUTXhzKO9GOY90Ux8EbuhlYxEWeH1UMzAFbopXdj1WT=0zdSh1S0tWR5kGR1pHZltWRyZ0bqtkesJ1aGlmaiNHZygWYGZUOadGMq9WQuBTah1mWPtCbxRWNN1&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=jTn1UTmhmbFF2cCF0SwVmT4QjRrpXTwtidDR1L2MnTHhFTGZHamNUdRZzb4tCZOx2QzYESr5EWWRlW=0zd45kN0Z2N6VzYh90UwRnVldDb5E2ctRmQYRUZUpkeLRHU2FEdOVTSJ1UU2pXTvYUTNdUWZJjazA&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=DNzTJNzT4IEMsJFRsVzLDNmTWxUQLpldlVlSyZjbah0VtF3UnN0K3glSrBjR1lDZJN0aH90bFJUYyBHe1lzaDJ3VjNVQr5UWkZzY5lVRP5EN2l2cQ9kawhVU4Azb0k3b0wkboxkcvMDZVB1Lrh1Ml9WORpnQv5kM&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=6hkc1xkSZZUOzElWhNUU2hld0RzTBlHVStEeFJnTuZXezUmZGZ3ViR3biF1Mr4mQ1sCOWVGdQdGSJJkSCtCWiVWRFlkeGJjbCZXW6REd0p0bVlWSwkmU6NTNvkEUqFnT6FlUvolY3plN1o1S2hzQBNmTHZnb1plR&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRrV1c5kzNFxmVZp1NZpHUR9iS0IzcqlURtlzNGpFehZ0MzoEZ4l0Lxs2VqNWRZpHVJZDaa1mU340Mlx0Y4tUZ1lVQ59mYFZ2KvhGNClnVppUdzMUOHdTQu5mSXlndyhnYuxGM1JXdGRjd1wmd&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=KNHR2lUSxdWa3M3ZXVncaJ1LEpEO2UWQmJ0QUJ0K2g0bJRnRwNnMzFGTINlcqBlZvUlQwFmTClmZjJEbUFnV0RWcSJGUMZGSzo2UqtydDVWdoNEb4wUNNZVVUZTMGZlYrd1bEhGOkpGcvMVW0IXYW5WY3UFcy4mT&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V=0zZ5BlQzdUWkdHaKhlQVFmd5RjMNd2NDpmM3AzVHVVWLtCez4EUyRXVstiTtdVawI2U5QWVFpXb5l&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V=0zZld0byUzVNRjcv02R5MkQYR3c6RkSWBlM3AzVHVVWLtCez4EUyRXVstiTtdVawI2U5QWVFpXb5l&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=UZWNnUV9CWBhnNLRFRP1kYxk2LPNzSORGZClHUZdkZzYVUMFHTEBjZxQWQtRnc3g1ZzAVZZdGS492Y=0TVzYTNwhXezF0RrMGZaRkbiJWU1xGMCB3ZaRlQkR1LwEHbIV2bmR0S1MnWtZnQuBlRrpGMCRWQRZ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=H9ybrIHV5NmdJpVN3MTM38UUyREMrF2M5cWb2kmQxREVwJmanlFaiNVQaV2N6pFejp2QUpXZJpkWFdFUrAjVXxUWaBVQhBlT5NXaq9iT38UYNNXVZR1dXdVULJ0NHVlZH9yLUJVemlWMw9kTQVUdys0SJZ0aEdDV&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRrV1c5kzNFxmVZp1NZpHUR9iS0IzcqlURtlzNGpFehZ0MzoEZ4l0Lxs2VqNWRZpHV1lGdhR1TMxmRrgkUn5ETIdkaKZFW0YzKLt0c1ZHO2JHex1mS1gWckpWWXlndyhnYuxGM1JXdGRjd1wmd&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=iTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXb=0TVIFma5NkQotGRlFHZQZDT1cTdDlWTZtydEJ2RsRzZ3gEbvh0YRRjTXh1dZtCawFVRDl1MyhlZ3s&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=P9CZRtERWREdLlWc3N1RWpmQG9Ee5kEc6NkQnZ0YOhHcnV2U6hXWk12UrNjb2cXRSl0UtNlb0V2ZntkR1hEOVJDUm9SMtJ0bstkaPR0Sxoke3NEa4IlTLtke3AVbrp3cyZVUFNlN65mVCRGcIlmMpd2aixkVaBjS&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=EZEZjQplVbMl1M4w0VRNzSr0GMVlkbxZFZJ9kdDhzZkt0ZxlTalxka1cFdZhFbi9CVyo2ctFXaSd2Z=0TQURGbtl1b1EkMNZ1UzAjdhh1MwIGaTlVaQdTboNEa0IHZ6FDS3N2SRBzKTt0ZY1kQHJEb2BzNPJ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=ybrIHV5NmdJpVN3MTM38UUyREMrF2M5cWb2kmQxREVwJmanlFaiNVQaV2N6pFejp2QUpXZJpkWFdFU=0DMOlWeoVFUsdHcHd2MNFzSycHUIpXc5EzLQdkZ1p2LTZTVIZ1UmlWMw9kTQVUdys0SJZ0aEdDVH9&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V=0zaZVlN1RFVYhzMhRkdVVHUZxWa2NkWltmM3AzVHVVWLtCez4EUyRXVstiTtdVawI2U5QWVFpXb5l&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=QZkZD10QwAzLENXSXRzNKRkYnJDNW52Ra1Ua4hzchJlZsVDaBtWNKhWZ5EWZGNFM2kENr9WW1hkejVGTadkc6ZTe0FmMLZHTCVTSKJ2YZFDO6ZVUpJmTD1kU3NVZDh3LRdzUaRXMxUlSsdzdXJ1R5Aja1lUMkVWW&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=mRUYPBFSwMXba1GM3c2YTlmZFBTWHJzRhhnN0I1TrATVyYDaqJFTOZDV6dFWWpWVitSTWVGSzNmRO1GbvdzVxllZO9CNatEbWxEVvRlZvonV55Gda5kUu1UYmJ2QpVjby9WMDlVetd1bNtyKuF3Q6FFUEVncuNHe&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=SRlMIZjSOBzbWtib2ITRw1GbkhXSHp1UxhVVHhWbmlkU2k1UkNVd2JFbkBVMqVEe0Q1azknQMl1Qwd3YqRDSQVWYRNHeVV0dm9iUr9EMkNUcFRndi1GVw82LNRkNxYkc5cDWtJnNr9mZ2U2Y0wUe0MkZQpmRH5kS&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=4Y3U3sma1EzRVtkYUpXSVBDO3pXYVhWbZhVZlpEeXVUTwlkYwJEMh5WOPZlNNRHSCV2RBlmbKR3VZtmUNNneKVXcwJmTX5WRs9iUndUT05EeT10NxREaVFUZG1EU5UXZ6lVVpdWcEJEUpRmaJJXNjNlRSx2MH10L&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=5lWbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V30UaWVnUlBDMJRkZhJGTMVVNax0QrwGTXVXTJ12Z01mdYR1KlV1KXlDOxRXVstiTtdVawI2U5QWVFpXb&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=zZWQx4WapZUd0BFWvNlYFd3S5pWQKRlVURjepBzMNNWO1ZlMFdndW5UawgGMUd3ZFhlV3UFZNpkVsJlaJ9UbhZWN1g1Mr1WNltWS1JmawYXbxE1capkTTRlZDpkZQVlMKlldDZmbRNEauZGeLd3Uot0TP9iW6Blc&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=3siTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXbldkTup2SHtUZHJGTllDaohXSrl3bTNjV2RTQxlGUmVTTrgTNZVDSIdjdVRjTXh1dZtCawFVRDl1MyhlZ&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=SMEd3V0FHTFFFVC9EWBBTZONzQuFmbQ9Cczp2TrZWRKVVZ1Y2dZhFNW9ib0hzSzo1c0o3c15UWLl3c=0TUSFlUPhzY5JFZwcVZPR2YTB1LsB1TChETxVnavlUNoF2Nu12UNhGWUBnQ6RmQXZVSwMVRzVWOO9&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=yMWUGZXZit0NSdnM2JkN5JjdoBXeOFEe0U3TwdTQBF0ZiBXTKx0MvxGWXplYBV2dxkFVuRlZqx0QC1UVZNWWSRnTqZld3MlMV10UjFUOVBFeNZHMSNnbn5kZi9yd4NWYGhWQpVUV0IHWP9SWHFEelJXUo1mZhZXe&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt9SathVd4VlNwMTVWF1N5smS5YWSMR1MIxGUWRGOYFTdSFTTslkNEF2RoZETL9Ed3M1UpZVNwpETyVUTWFmclpXeixEWNdzcuRkdQVlNTJnTjNFarZkdBFlTTVmMQNnN0QWexpUbSJTSo9iS&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=lW2s0Nv1mN1hkc1sSTBBTa3R2UrA1d5hGMSNXei10Tzc2MYJFZClkR4NDSCFVZkh0aCVUWDVGaVdXW=0zdPVnerc1RG5kRYRjQFVkcsZDMHNUVUVDTrsUQ00ka5BzS5MkQsljYldmVjFDU3NXVVVjM1QHWxN&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt9SathVd4VlNwMTVWF1N5smS5YWSMR1MIxGUWRGOYFTdSFTTslkNEF2RoZETL9EdYtkR1gWS4hzbhFjc5NGRUp0Ya9UOyR3QCplYMlWOY5UNCl3LwFTUQZXZTVmMQNnN0QWexpUbSJTSo9iS&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=PJEZEZjQplVbMl1M4w0VRNzSr0GMVlkbxZFZJ9kdDhzZkt0ZxlTalxka1cFdZhFbi9CVyo2ctFXaSd2Z38CUw10aTdXM5g3KrZGb0gDbxFzLtVnbntmSndXT5Z3Q3Z1LYFXV1oVM4N2SRBzKTt0ZY1kQHJEb2BzN&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=PJEZEZjQplVbMl1M4w0VRNzSr0GMVlkbxZFZJ9kdDhzZkt0ZxlTalxka1cFdZhFbi9CVyo2ctFXaSd2ZRJGbWhTcp9ENwkjRGp0Vsl2Qv4GRmdHZs9mUvZHdXdmcNNzU5tyRv9ke4N2SRBzKTt0ZY1kQHJEb2BzN&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=3siTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXbkRWY5c0cvdWOIJEZxFGanZnQx8kauZ0LipHbqJFeIF3Q5d2Qll0Rqp1ZVRjTXh1dZtCawFVRDl1MyhlZ&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WQx4WapZUd0BFWvNlYFd3S5pWQKRlVURjepBzMNNWO1ZlMFdndW5UawgGMUd3ZFhlV3UFZNpkVsJla=0TS6l3dOFXTjBTb6Z1cWJEeqxWSO5UZlx2bE9UeQVmR2cnaHRmYVNEauZGeLd3Uot0TP9iW6BlczZ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=RZUZWNnUV9CWBhnNLRFRP1kYxk2LPNzSORGZClHUZdkZzYVUMFHTEBjZxQWQtRnc3g1ZzAVZZdGS492Y1k2SHdkWUhleZZXZ1x0ayd1RkV1c350SB9SRwATUrg0SpZmaKBTcMNnSmR0S1MnWtZnQuBlRrpGMCRWQ&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=2YXWjtmcI92K0RXNywEMFZUME1kS4J1YZR3VXtyU2kUVSx2SIdWdmV0VXtkT3RzdptCb2YncplWZHJmeVl2VyQEOvN1TVNjQONjRHVzLklHMzl3ZBFWeEZ3dw8iQvUWUTh3RLBzbVJnMMtWNxN3L0UHT0k3QLFma&tablename=CAPJLAST&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=iTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXb=0zcxgHcwYDb4kTVCpFemZ1MJdkdYBjVkp2dEJ2RsRzZ3gEbvh0YRRjTXh1dZtCawFVRDl1MyhlZ3s&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=2YXWjtmcI92K0RXNywEMFZUME1kS4J1YZR3VXtyU2kUVSx2SIdWdmV0VXtkT3RzdptCb2YncplWZHJmeR9mVwI3LpZmWzs0SJh3aB5UNBZ3L5k3czZleHdWSTdjSyUER4ckN5ZkNVJnMMtWNxN3L0UHT0k3QLFma&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt9SathVd4VlNwMTVWF1N5smS5YWSMR1MIxGUWRGOYFTdSFTTslkNEF2RoZETL9EdvZzcjhjajJFSEtWanlVZwQDbn5kSUNzajl3SYZzLpNUVZF1V3VWO2IVWTVmMQNnN0QWexpUbSJTSo9iS&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=TN0QDMXJ2apRlMvdHMNZ0c6ljVzI0aTNWaQx0Q1Y0K5ZWejtWciN3R2EHUBFjUJRWWxdmaKJkShx0Q=0zYWtEM3oVdGBVZTR3S0YmYXVVUpFUWrQ3NyZVOzRzNLF1T6pWbaRDOXpHUEpGdvMXOoh0aRF2aNF&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=nWINmVzNDdSREeaFzSvsmbHBFeqlkRiljdVdDMroXTvQDMkd2c1InUGdEbQpWWhl1KxAnTH12ZpVGc=0zYyBTS0MGa2ITbiVHM0gFaPdVWHVlMnJ1aDR1d100NQhHRJNTcilEV6lERCN0RCl1K4plMO5kMEJ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WcNNkbyZ0ZwYWSYxUa0UjWu1WQzkzZxYmV0VEcsZGONpGZpNlThV1KNdkZ5oXMSVlSSJ1Yrx0bE92R=0TV44mMDFXe3pXNORjbzAHcvYnWQhGUFVHW1hDc1FTdTZGaKxGNsFkZykWMut0SQ5UMGRlWLJFdkV&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSYxUa0UjWu1WQzkzZxYmV0VEcsZGONpGZpNlThV1KNdkZ5oXMSVlSSJ1Yrx0bE92RUVXVo5EcKF2LaVUTnR3NRlmUw0meBd1N6pEW3wERCZFZONnTEZHbXljdtFkZykWMut0SQ5UMGRlWLJFd&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=WVzskeI52R3gzSUVzcOhkdWdEbHdHTmRnZ2JjWXVXN3ATd2w2TwoXSuRWO1JWVuhEe0wkcxVUT6RXT=0zZ4YGOCNGehZ0S2ZnUOdXWOlWeygETmZURw8GRrZGNxMWN3RTS5wGMZJlY2VDS1kkTCdVTNJGVRp&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSYxUa0UjWu1WQzkzZxYmV0VEcsZGONpGZpNlThV1KNdkZ5oXMSVlSSJ1Yrx0bE92RZpWWRFFSsl3Z3d2djRVOHdlWSRFawRlRyVUT0plUYVERyU0ZVZ3dyVUetFkZykWMut0SQ5UMGRlWLJFd&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=w80NmpFW0dTU2FzM5lFNDZlUEtCVJ5UUBVVVqlkNW12U610dUNzKUtEWPZlZ2gVYTJ0Q0xUeIBVelF3dN9EeZJFWzknT3UFcuB3bthkRXZDdxY0SvsmM4pWUQBnWjZnWPFlQhRUM3Q3YVhjVNdHVtNVYxgmQJxUY&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=JtkaVdkclVUbOR1QVBFd31mbO5EZIhzcM1kRKdWYCNWYy5EeG9mN2ADVykzYvNzdWVnRiJUVLR2YYllS1gmQsZXWklGZ3V3cXtGZMdGZyt0KWFXYQFEdzwGM0dTO380LwglUSl3QKNUQFllbURjZHhEVt5UQrMUY&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=JtkaVdkclVUbOR1QVBFd31mbO5EZIhzcM1kRKdWYCNWYy5EeG9mN2ADVykzYvNzdWVnRiJUVLR2YYllSHh2VMZzRQh1Vw8CezpXY4B1YvcWQaFkMzolW0FFWz1EW3VDawglUSl3QKNUQFllbURjZHhEVt5UQrMUY&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " '/kcms/download.aspx?filename=142T1YlaKN1UIZzTSdVdCdmSrJFdhNHd4kDS2ZERB5kRYVUdVpUQqdGaWVmVyEFeVd0cNh2YylWZ290UohzMwVmVqd1d0RUcXFzZFRzNxs2a0FHOW92d5IDTo5WZvR1T4pUTD5UTNhzdNxUMTtUSiFVNHV3VxIXY&tablename=CJFDLAST2021&dflag=pdfdown']"
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pdf_links"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 修复正确的pdf下载链接"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https://kns.cnki.net/kcms/download.aspx?filename=nFzbHpme2tydzJ3crVUeZZGMqRDVvp3Uwc3ZMRTTPRzVNRDbUVkUV9ic0smRyVEUsVlUV5mZNNFZQN2d1kjS1d2SRFzVKREb4QWN4s2ZGVEckpUc5FUMmlWe1tGRVlmMjlWZCJXNSVDMrRFZMBlY5M1R1sWMmdjM&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=YdFNJdnbMR2cnpmThhXc0EkUUBFT6FHW1AjaLRnbwZTYpNUWkJnV6lTatNVUIlXYNJVeMRnQv9kYnplRjR3QMdXSDlUUldWS3c0a1I0cZljTPhFdV1WehJERsZmd4gUcrAFSwcWZtJmVzU2dsdGMVJkTXJEazpmW&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5UMzJGZZdEdm1mMrRGb0IUTXhzKO9GOY90Ux8EbuhlYxEWeH1UMzAFbopXdj1WT=0TUVxkbwBFNxR3KYNmc2k2MshEdllVOI5mMGlmaiNHZygWYGZUOadGMq9WQuBTah1mWPtCbxRWNN1&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5UMzJGZZdEdm1mMrRGb0IUTXhzKO9GOY90Ux8EbuhlYxEWeH1UMzAFbopXdj1WT=0zdSh1S0tWR5kGR1pHZltWRyZ0bqtkesJ1aGlmaiNHZygWYGZUOadGMq9WQuBTah1mWPtCbxRWNN1&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=jTn1UTmhmbFF2cCF0SwVmT4QjRrpXTwtidDR1L2MnTHhFTGZHamNUdRZzb4tCZOx2QzYESr5EWWRlW=0zd45kN0Z2N6VzYh90UwRnVldDb5E2ctRmQYRUZUpkeLRHU2FEdOVTSJ1UU2pXTvYUTNdUWZJjazA&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=DNzTJNzT4IEMsJFRsVzLDNmTWxUQLpldlVlSyZjbah0VtF3UnN0K3glSrBjR1lDZJN0aH90bFJUYyBHe1lzaDJ3VjNVQr5UWkZzY5lVRP5EN2l2cQ9kawhVU4Azb0k3b0wkboxkcvMDZVB1Lrh1Ml9WORpnQv5kM&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=6hkc1xkSZZUOzElWhNUU2hld0RzTBlHVStEeFJnTuZXezUmZGZ3ViR3biF1Mr4mQ1sCOWVGdQdGSJJkSCtCWiVWRFlkeGJjbCZXW6REd0p0bVlWSwkmU6NTNvkEUqFnT6FlUvolY3plN1o1S2hzQBNmTHZnb1plR&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRrV1c5kzNFxmVZp1NZpHUR9iS0IzcqlURtlzNGpFehZ0MzoEZ4l0Lxs2VqNWRZpHVJZDaa1mU340Mlx0Y4tUZ1lVQ59mYFZ2KvhGNClnVppUdzMUOHdTQu5mSXlndyhnYuxGM1JXdGRjd1wmd&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=KNHR2lUSxdWa3M3ZXVncaJ1LEpEO2UWQmJ0QUJ0K2g0bJRnRwNnMzFGTINlcqBlZvUlQwFmTClmZjJEbUFnV0RWcSJGUMZGSzo2UqtydDVWdoNEb4wUNNZVVUZTMGZlYrd1bEhGOkpGcvMVW0IXYW5WY3UFcy4mT&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V=0zZ5BlQzdUWkdHaKhlQVFmd5RjMNd2NDpmM3AzVHVVWLtCez4EUyRXVstiTtdVawI2U5QWVFpXb5l&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V=0zZld0byUzVNRjcv02R5MkQYR3c6RkSWBlM3AzVHVVWLtCez4EUyRXVstiTtdVawI2U5QWVFpXb5l&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=UZWNnUV9CWBhnNLRFRP1kYxk2LPNzSORGZClHUZdkZzYVUMFHTEBjZxQWQtRnc3g1ZzAVZZdGS492Y=0TVzYTNwhXezF0RrMGZaRkbiJWU1xGMCB3ZaRlQkR1LwEHbIV2bmR0S1MnWtZnQuBlRrpGMCRWQRZ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=H9ybrIHV5NmdJpVN3MTM38UUyREMrF2M5cWb2kmQxREVwJmanlFaiNVQaV2N6pFejp2QUpXZJpkWFdFUrAjVXxUWaBVQhBlT5NXaq9iT38UYNNXVZR1dXdVULJ0NHVlZH9yLUJVemlWMw9kTQVUdys0SJZ0aEdDV&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRrV1c5kzNFxmVZp1NZpHUR9iS0IzcqlURtlzNGpFehZ0MzoEZ4l0Lxs2VqNWRZpHV1lGdhR1TMxmRrgkUn5ETIdkaKZFW0YzKLt0c1ZHO2JHex1mS1gWckpWWXlndyhnYuxGM1JXdGRjd1wmd&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=iTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXb=0TVIFma5NkQotGRlFHZQZDT1cTdDlWTZtydEJ2RsRzZ3gEbvh0YRRjTXh1dZtCawFVRDl1MyhlZ3s&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=P9CZRtERWREdLlWc3N1RWpmQG9Ee5kEc6NkQnZ0YOhHcnV2U6hXWk12UrNjb2cXRSl0UtNlb0V2ZntkR1hEOVJDUm9SMtJ0bstkaPR0Sxoke3NEa4IlTLtke3AVbrp3cyZVUFNlN65mVCRGcIlmMpd2aixkVaBjS&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=EZEZjQplVbMl1M4w0VRNzSr0GMVlkbxZFZJ9kdDhzZkt0ZxlTalxka1cFdZhFbi9CVyo2ctFXaSd2Z=0TQURGbtl1b1EkMNZ1UzAjdhh1MwIGaTlVaQdTboNEa0IHZ6FDS3N2SRBzKTt0ZY1kQHJEb2BzNPJ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=ybrIHV5NmdJpVN3MTM38UUyREMrF2M5cWb2kmQxREVwJmanlFaiNVQaV2N6pFejp2QUpXZJpkWFdFU=0DMOlWeoVFUsdHcHd2MNFzSycHUIpXc5EzLQdkZ1p2LTZTVIZ1UmlWMw9kTQVUdys0SJZ0aEdDVH9&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V=0zaZVlN1RFVYhzMhRkdVVHUZxWa2NkWltmM3AzVHVVWLtCez4EUyRXVstiTtdVawI2U5QWVFpXb5l&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=QZkZD10QwAzLENXSXRzNKRkYnJDNW52Ra1Ua4hzchJlZsVDaBtWNKhWZ5EWZGNFM2kENr9WW1hkejVGTadkc6ZTe0FmMLZHTCVTSKJ2YZFDO6ZVUpJmTD1kU3NVZDh3LRdzUaRXMxUlSsdzdXJ1R5Aja1lUMkVWW&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=mRUYPBFSwMXba1GM3c2YTlmZFBTWHJzRhhnN0I1TrATVyYDaqJFTOZDV6dFWWpWVitSTWVGSzNmRO1GbvdzVxllZO9CNatEbWxEVvRlZvonV55Gda5kUu1UYmJ2QpVjby9WMDlVetd1bNtyKuF3Q6FFUEVncuNHe&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=SRlMIZjSOBzbWtib2ITRw1GbkhXSHp1UxhVVHhWbmlkU2k1UkNVd2JFbkBVMqVEe0Q1azknQMl1Qwd3YqRDSQVWYRNHeVV0dm9iUr9EMkNUcFRndi1GVw82LNRkNxYkc5cDWtJnNr9mZ2U2Y0wUe0MkZQpmRH5kS&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=4Y3U3sma1EzRVtkYUpXSVBDO3pXYVhWbZhVZlpEeXVUTwlkYwJEMh5WOPZlNNRHSCV2RBlmbKR3VZtmUNNneKVXcwJmTX5WRs9iUndUT05EeT10NxREaVFUZG1EU5UXZ6lVVpdWcEJEUpRmaJJXNjNlRSx2MH10L&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=5lWbjFjNlFVe4A1cvRmTJJDM0M0SWZDW2MEdaJzUrVjT6lWUwEzYJNzQTJXcMljNZR3QkZFULZ3cCp2V30UaWVnUlBDMJRkZhJGTMVVNax0QrwGTXVXTJ12Z01mdYR1KlV1KXlDOxRXVstiTtdVawI2U5QWVFpXb&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=zZWQx4WapZUd0BFWvNlYFd3S5pWQKRlVURjepBzMNNWO1ZlMFdndW5UawgGMUd3ZFhlV3UFZNpkVsJlaJ9UbhZWN1g1Mr1WNltWS1JmawYXbxE1capkTTRlZDpkZQVlMKlldDZmbRNEauZGeLd3Uot0TP9iW6Blc&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=3siTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXbldkTup2SHtUZHJGTllDaohXSrl3bTNjV2RTQxlGUmVTTrgTNZVDSIdjdVRjTXh1dZtCawFVRDl1MyhlZ&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=SMEd3V0FHTFFFVC9EWBBTZONzQuFmbQ9Cczp2TrZWRKVVZ1Y2dZhFNW9ib0hzSzo1c0o3c15UWLl3c=0TUSFlUPhzY5JFZwcVZPR2YTB1LsB1TChETxVnavlUNoF2Nu12UNhGWUBnQ6RmQXZVSwMVRzVWOO9&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=yMWUGZXZit0NSdnM2JkN5JjdoBXeOFEe0U3TwdTQBF0ZiBXTKx0MvxGWXplYBV2dxkFVuRlZqx0QC1UVZNWWSRnTqZld3MlMV10UjFUOVBFeNZHMSNnbn5kZi9yd4NWYGhWQpVUV0IHWP9SWHFEelJXUo1mZhZXe&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt9SathVd4VlNwMTVWF1N5smS5YWSMR1MIxGUWRGOYFTdSFTTslkNEF2RoZETL9Ed3M1UpZVNwpETyVUTWFmclpXeixEWNdzcuRkdQVlNTJnTjNFarZkdBFlTTVmMQNnN0QWexpUbSJTSo9iS&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=lW2s0Nv1mN1hkc1sSTBBTa3R2UrA1d5hGMSNXei10Tzc2MYJFZClkR4NDSCFVZkh0aCVUWDVGaVdXW=0zdPVnerc1RG5kRYRjQFVkcsZDMHNUVUVDTrsUQ00ka5BzS5MkQsljYldmVjFDU3NXVVVjM1QHWxN&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt9SathVd4VlNwMTVWF1N5smS5YWSMR1MIxGUWRGOYFTdSFTTslkNEF2RoZETL9EdYtkR1gWS4hzbhFjc5NGRUp0Ya9UOyR3QCplYMlWOY5UNCl3LwFTUQZXZTVmMQNnN0QWexpUbSJTSo9iS&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=PJEZEZjQplVbMl1M4w0VRNzSr0GMVlkbxZFZJ9kdDhzZkt0ZxlTalxka1cFdZhFbi9CVyo2ctFXaSd2Z38CUw10aTdXM5g3KrZGb0gDbxFzLtVnbntmSndXT5Z3Q3Z1LYFXV1oVM4N2SRBzKTt0ZY1kQHJEb2BzN&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=PJEZEZjQplVbMl1M4w0VRNzSr0GMVlkbxZFZJ9kdDhzZkt0ZxlTalxka1cFdZhFbi9CVyo2ctFXaSd2ZRJGbWhTcp9ENwkjRGp0Vsl2Qv4GRmdHZs9mUvZHdXdmcNNzU5tyRv9ke4N2SRBzKTt0ZY1kQHJEb2BzN&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=3siTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXbkRWY5c0cvdWOIJEZxFGanZnQx8kauZ0LipHbqJFeIF3Q5d2Qll0Rqp1ZVRjTXh1dZtCawFVRDl1MyhlZ&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WQx4WapZUd0BFWvNlYFd3S5pWQKRlVURjepBzMNNWO1ZlMFdndW5UawgGMUd3ZFhlV3UFZNpkVsJla=0TS6l3dOFXTjBTb6Z1cWJEeqxWSO5UZlx2bE9UeQVmR2cnaHRmYVNEauZGeLd3Uot0TP9iW6BlczZ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=RZUZWNnUV9CWBhnNLRFRP1kYxk2LPNzSORGZClHUZdkZzYVUMFHTEBjZxQWQtRnc3g1ZzAVZZdGS492Y1k2SHdkWUhleZZXZ1x0ayd1RkV1c350SB9SRwATUrg0SpZmaKBTcMNnSmR0S1MnWtZnQuBlRrpGMCRWQ&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=2YXWjtmcI92K0RXNywEMFZUME1kS4J1YZR3VXtyU2kUVSx2SIdWdmV0VXtkT3RzdptCb2YncplWZHJmeVl2VyQEOvN1TVNjQONjRHVzLklHMzl3ZBFWeEZ3dw8iQvUWUTh3RLBzbVJnMMtWNxN3L0UHT0k3QLFma&tablename=CAPJLAST&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=iTqpUS610V5t2V2g2bJlmQONUajFFbkZlNPhlawZ3NRF3QxhDU2tyYVFFayZ3T4ZmezVkVmRlQPRXb=0zcxgHcwYDb4kTVCpFemZ1MJdkdYBjVkp2dEJ2RsRzZ3gEbvh0YRRjTXh1dZtCawFVRDl1MyhlZ3s&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=2YXWjtmcI92K0RXNywEMFZUME1kS4J1YZR3VXtyU2kUVSx2SIdWdmV0VXtkT3RzdptCb2YncplWZHJmeR9mVwI3LpZmWzs0SJh3aB5UNBZ3L5k3czZleHdWSTdjSyUER4ckN5ZkNVJnMMtWNxN3L0UHT0k3QLFma&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt9SathVd4VlNwMTVWF1N5smS5YWSMR1MIxGUWRGOYFTdSFTTslkNEF2RoZETL9EdvZzcjhjajJFSEtWanlVZwQDbn5kSUNzajl3SYZzLpNUVZF1V3VWO2IVWTVmMQNnN0QWexpUbSJTSo9iS&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=TN0QDMXJ2apRlMvdHMNZ0c6ljVzI0aTNWaQx0Q1Y0K5ZWejtWciN3R2EHUBFjUJRWWxdmaKJkShx0Q=0zYWtEM3oVdGBVZTR3S0YmYXVVUpFUWrQ3NyZVOzRzNLF1T6pWbaRDOXpHUEpGdvMXOoh0aRF2aNF&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=nWINmVzNDdSREeaFzSvsmbHBFeqlkRiljdVdDMroXTvQDMkd2c1InUGdEbQpWWhl1KxAnTH12ZpVGc=0zYyBTS0MGa2ITbiVHM0gFaPdVWHVlMnJ1aDR1d100NQhHRJNTcilEV6lERCN0RCl1K4plMO5kMEJ&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WcNNkbyZ0ZwYWSYxUa0UjWu1WQzkzZxYmV0VEcsZGONpGZpNlThV1KNdkZ5oXMSVlSSJ1Yrx0bE92R=0TV44mMDFXe3pXNORjbzAHcvYnWQhGUFVHW1hDc1FTdTZGaKxGNsFkZykWMut0SQ5UMGRlWLJFdkV&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSYxUa0UjWu1WQzkzZxYmV0VEcsZGONpGZpNlThV1KNdkZ5oXMSVlSSJ1Yrx0bE92RUVXVo5EcKF2LaVUTnR3NRlmUw0meBd1N6pEW3wERCZFZONnTEZHbXljdtFkZykWMut0SQ5UMGRlWLJFd&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=WVzskeI52R3gzSUVzcOhkdWdEbHdHTmRnZ2JjWXVXN3ATd2w2TwoXSuRWO1JWVuhEe0wkcxVUT6RXT=0zZ4YGOCNGehZ0S2ZnUOdXWOlWeygETmZURw8GRrZGNxMWN3RTS5wGMZJlY2VDS1kkTCdVTNJGVRp&tablename=CJFDAUTO&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSYxUa0UjWu1WQzkzZxYmV0VEcsZGONpGZpNlThV1KNdkZ5oXMSVlSSJ1Yrx0bE92RZpWWRFFSsl3Z3d2djRVOHdlWSRFawRlRyVUT0plUYVERyU0ZVZ3dyVUetFkZykWMut0SQ5UMGRlWLJFd&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=w80NmpFW0dTU2FzM5lFNDZlUEtCVJ5UUBVVVqlkNW12U610dUNzKUtEWPZlZ2gVYTJ0Q0xUeIBVelF3dN9EeZJFWzknT3UFcuB3bthkRXZDdxY0SvsmM4pWUQBnWjZnWPFlQhRUM3Q3YVhjVNdHVtNVYxgmQJxUY&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=JtkaVdkclVUbOR1QVBFd31mbO5EZIhzcM1kRKdWYCNWYy5EeG9mN2ADVykzYvNzdWVnRiJUVLR2YYllS1gmQsZXWklGZ3V3cXtGZMdGZyt0KWFXYQFEdzwGM0dTO380LwglUSl3QKNUQFllbURjZHhEVt5UQrMUY&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=JtkaVdkclVUbOR1QVBFd31mbO5EZIhzcM1kRKdWYCNWYy5EeG9mN2ADVykzYvNzdWVnRiJUVLR2YYllSHh2VMZzRQh1Vw8CezpXY4B1YvcWQaFkMzolW0FFWz1EW3VDawglUSl3QKNUQFllbURjZHhEVt5UQrMUY&tablename=CJFDLAST2021&dflag=pdfdown',\n",
       " 'https://kns.cnki.net/kcms/download.aspx?filename=142T1YlaKN1UIZzTSdVdCdmSrJFdhNHd4kDS2ZERB5kRYVUdVpUQqdGaWVmVyEFeVd0cNh2YylWZ290UohzMwVmVqd1d0RUcXFzZFRzNxs2a0FHOW92d5IDTo5WZvR1T4pUTD5UTNhzdNxUMTtUSiFVNHV3VxIXY&tablename=CJFDLAST2021&dflag=pdfdown']"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "\n",
    "pdf_href=['https://kns.cnki.net'+link for link in pdf_links]\n",
    "pdf_href"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 合并下载链接"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>篇名</th>\n",
       "      <th>作者</th>\n",
       "      <th>刊名</th>\n",
       "      <th>发表时间</th>\n",
       "      <th>被引</th>\n",
       "      <th>下载</th>\n",
       "      <th>操作</th>\n",
       "      <th>页面链接</th>\n",
       "      <th>pdf下载</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>长江南京段沿江岸线景观资源保护对策探讨  网络首发</td>\n",
       "      <td>唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-07-01 14:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=nFzbHpme2tydzJ3cr...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>重庆市生态保护红线内的生态系统服务动态变化评估  网络首发</td>\n",
       "      <td>官冬杰; 黄大楠; 殷博灵</td>\n",
       "      <td>重庆交通大学学报(自然科学版)</td>\n",
       "      <td>2021-06-28 11:35</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=YdFNJdnbMR2cnpmTh...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例</td>\n",
       "      <td>单文华;徐春峰;李德昌</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-06-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5U...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例</td>\n",
       "      <td>牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖</td>\n",
       "      <td>生态与农村环境学报</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5U...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>中国石油发布2020年环境保护公报</td>\n",
       "      <td>天工</td>\n",
       "      <td>天然气工业</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=jTn1UTmhmbFF2cCF0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>6</td>\n",
       "      <td>基于保护和利用视角下的松岭村乡土景观资源评价  网络首发</td>\n",
       "      <td>王烨梓;韦宝婧;胡希军;蒋紫君;杜心宇</td>\n",
       "      <td>西北林学院学报</td>\n",
       "      <td>2021-06-24 10:18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=DNzTJNzT4IEMsJFRs...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>7</td>\n",
       "      <td>黑土地保护的激励补偿机制构建  网络首发</td>\n",
       "      <td>崔宁波; 生世玉</td>\n",
       "      <td>长白学刊</td>\n",
       "      <td>2021-06-22 15:53</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=6hkc1xkSZZUOzElWh...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>8</td>\n",
       "      <td>世界部分国家湿地保护法律制度比较及启示  网络首发</td>\n",
       "      <td>侯方淼; 李培; 陈勇</td>\n",
       "      <td>世界林业研究</td>\n",
       "      <td>2021-06-22 10:13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>43.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRr...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>9</td>\n",
       "      <td>国土空间生态保护与修复重大问题研究  网络首发</td>\n",
       "      <td>白中科</td>\n",
       "      <td>地学前缘</td>\n",
       "      <td>2021-06-21 17:46</td>\n",
       "      <td>NaN</td>\n",
       "      <td>199.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=KNHR2lUSxdWa3M3ZX...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>10</td>\n",
       "      <td>论人工科学、人居环境科学、事理学的同一性</td>\n",
       "      <td>胡飞; 米江辉</td>\n",
       "      <td>包装工程</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>34.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRm...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>11</td>\n",
       "      <td>我国草原恢复与保护的问题与对策</td>\n",
       "      <td>潘庆民;孙佳美;杨元合;刘伟;李昂</td>\n",
       "      <td>中国科学院院刊</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRm...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>12</td>\n",
       "      <td>生态环境保护下中国林业的可持续发展策略</td>\n",
       "      <td>谢利娟; 王茸仙; 刘慧</td>\n",
       "      <td>林产工业</td>\n",
       "      <td>2021-06-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>67.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=UZWNnUV9CWBhnNLRF...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>13</td>\n",
       "      <td>宏观生态系统科学整合研究的多学科知识融合及其技术途径  网络首发</td>\n",
       "      <td>于贵瑞; 任小丽; 杨萌; 陈智</td>\n",
       "      <td>应用生态学报</td>\n",
       "      <td>2021-06-18 16:28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>74.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=H9ybrIHV5NmdJpVN3...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>14</td>\n",
       "      <td>吉林省生态保护红线分布特征及其监管体系研究</td>\n",
       "      <td>王媛;庄雨适;孙大光;李昂;宋明晓</td>\n",
       "      <td>东北师大学报(自然科学版)</td>\n",
       "      <td>2021-06-18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRr...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>15</td>\n",
       "      <td>以“大保护、大开放、高质量”构建西部大开发新格局的思路研究</td>\n",
       "      <td>李海龙; 高德步; 谢毓兰</td>\n",
       "      <td>宏观经济研究</td>\n",
       "      <td>2021-06-18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=iTqpUS610V5t2V2g2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>16</td>\n",
       "      <td>基于生态保护红线管理的塔里木河流域土地利用模拟及生态效益评价  网络首发</td>\n",
       "      <td>楚智; 徐长春; 罗映雪; 孙琪</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-06-15 16:32</td>\n",
       "      <td>NaN</td>\n",
       "      <td>136.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=P9CZRtERWREdLlWc3...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>17</td>\n",
       "      <td>基于脑科学的教学设计原则研究</td>\n",
       "      <td>程岭; 马翠; 程琳; 时琦; 郑海凤</td>\n",
       "      <td>现代教育技术</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>38.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=EZEZjQplVbMl1M4w0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>18</td>\n",
       "      <td>陆海统筹视域下我国生态环境保护法律体系重构</td>\n",
       "      <td>李挚萍</td>\n",
       "      <td>中州学刊</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=ybrIHV5NmdJpVN3MT...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>19</td>\n",
       "      <td>基于公众科学及分众传播的国家公园宣传推广——以神农架国家公园为例</td>\n",
       "      <td>蔡凌楚; 赵慧; 赵本元; 谭路</td>\n",
       "      <td>长江流域资源与环境</td>\n",
       "      <td>2021-06-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WbjFjNlFVe4A1cvRm...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>20</td>\n",
       "      <td>构建科学运行机制 指导公司治理实践——评《中国公司治理的理论与证据》</td>\n",
       "      <td>鲁迪; 缪小明</td>\n",
       "      <td>山西财经大学学报</td>\n",
       "      <td>2021-06-11 16:22</td>\n",
       "      <td>NaN</td>\n",
       "      <td>107.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=QZkZD10QwAzLENXSX...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>21</td>\n",
       "      <td>长江科学院牵头完成的“农村水电绿色发展若干关键技术研究及应用”获大禹水利科学技术奖科技进步二等奖</td>\n",
       "      <td>NaN</td>\n",
       "      <td>长江科学院院报</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=mRUYPBFSwMXba1GM3...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>22</td>\n",
       "      <td>长江河湖保护与修复高端论坛倡议书</td>\n",
       "      <td>NaN</td>\n",
       "      <td>长江科学院院报</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=SRlMIZjSOBzbWtib2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>23</td>\n",
       "      <td>《环境科学》再获“百种中国杰出学术期刊”称号</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>39.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=4Y3U3sma1EzRVtkYU...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>24</td>\n",
       "      <td>《环境科学》连续9次荣获“中国最具国际影响力学术期刊”称号</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=5lWbjFjNlFVe4A1cv...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>25</td>\n",
       "      <td>《环境科学》多项引证指标名列前茅</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境科学</td>\n",
       "      <td>2021-06-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=zZWQx4WapZUd0BFWv...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>26</td>\n",
       "      <td>中国自然保护地旅游产品类型及其特征</td>\n",
       "      <td>谢冶凤; 吴必虎; 张玉钧; 王梦婷</td>\n",
       "      <td>地域研究与开发</td>\n",
       "      <td>2021-06-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>84.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=3siTqpUS610V5t2V2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>27</td>\n",
       "      <td>新时代黄河流域生态治理机制研究——评《黄河流域生态保护和高质量发展报告》</td>\n",
       "      <td>刘素娟</td>\n",
       "      <td>人民黄河</td>\n",
       "      <td>2021-06-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>118.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=SMEd3V0FHTFFFVC9E...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>28</td>\n",
       "      <td>煤炭城市山水林田湖草生态保护修复分区及规划策略研究——以古交市为例</td>\n",
       "      <td>常江; 李灿坤; 冯姗姗; 李成</td>\n",
       "      <td>生态经济</td>\n",
       "      <td>2021-06-09</td>\n",
       "      <td>NaN</td>\n",
       "      <td>182.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=yMWUGZXZit0NSdnM2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>29</td>\n",
       "      <td>智能时代的教育科学研究：内涵、逻辑框架与实践进路</td>\n",
       "      <td>郑永和; 王杨春晓; 王一岩</td>\n",
       "      <td>中国远程教育</td>\n",
       "      <td>2021-06-09</td>\n",
       "      <td>NaN</td>\n",
       "      <td>458.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>30</td>\n",
       "      <td>厦门市重点保护植物空间优先保护格局研究</td>\n",
       "      <td>钱灵颖; 黄智洵; 杨盛昌; 曹文志</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-06-08</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=lW2s0Nv1mN1hkc1sS...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>31</td>\n",
       "      <td>珊瑚礁鱼类多样性及保护研究进展  网络首发</td>\n",
       "      <td>代血娇; 张俊; 陈作志</td>\n",
       "      <td>生态学杂志</td>\n",
       "      <td>2021-06-07 13:43</td>\n",
       "      <td>NaN</td>\n",
       "      <td>186.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>32</td>\n",
       "      <td>耕地数量、质量、生态“三位一体”视角下我国东北黑土地保护现状及其实现路径选择研究</td>\n",
       "      <td>刘洪彬;李顺婷;吴梦瑶;孙福军;王秋兵</td>\n",
       "      <td>土壤通报</td>\n",
       "      <td>2021-06-06</td>\n",
       "      <td>NaN</td>\n",
       "      <td>222.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=PJEZEZjQplVbMl1M4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>33</td>\n",
       "      <td>红树林地区法律保护的财产权补偿公正性研究</td>\n",
       "      <td>谢福荣</td>\n",
       "      <td>农业经济</td>\n",
       "      <td>2021-06-04</td>\n",
       "      <td>NaN</td>\n",
       "      <td>33.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=PJEZEZjQplVbMl1M4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>34</td>\n",
       "      <td>我国旅游地理研究格局及热点分析——基于2000—2019年国家自然科学基金旅游课题立项的研究</td>\n",
       "      <td>雷彬; 李松志; 张祚</td>\n",
       "      <td>世界地理研究</td>\n",
       "      <td>2021-05-30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>242.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=3siTqpUS610V5t2V2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>35</td>\n",
       "      <td>2021年宇航领域科学问题和技术难题在中国航天大会发布</td>\n",
       "      <td>NaN</td>\n",
       "      <td>宇航学报</td>\n",
       "      <td>2021-05-30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WQx4WapZUd0BFWvNl...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>36</td>\n",
       "      <td>休养生息制度背景下的中国耕地保护转型目标框架与路径  网络首发</td>\n",
       "      <td>孔祥斌</td>\n",
       "      <td>湖南师范大学社会科学学报</td>\n",
       "      <td>2021-05-28 16:23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>254.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=RZUZWNnUV9CWBhnNL...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>37</td>\n",
       "      <td>机载高光谱成像技术在长江经济带苏、皖、浙地区生态环境保护中的作用  网络首发</td>\n",
       "      <td>修连存;郑志忠;杨彬;殷靓;高扬</td>\n",
       "      <td>中国地质</td>\n",
       "      <td>2021-05-28 13:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>140.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=2YXWjtmcI92K0RXNy...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>38</td>\n",
       "      <td>凝聚学会资源 助力深入打好污染防治攻坚战——访中国环境科学学会副理事长、秘书长李春红</td>\n",
       "      <td>祝叶华</td>\n",
       "      <td>科技导报</td>\n",
       "      <td>2021-05-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=iTqpUS610V5t2V2g2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>39</td>\n",
       "      <td>黄河流域生态保护的科学传播路径</td>\n",
       "      <td>侯丙孬</td>\n",
       "      <td>中学政治教学参考</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>73.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=2YXWjtmcI92K0RXNy...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>40</td>\n",
       "      <td>喜讯:《环境与职业医学》入选中国科学引文数据库(2021-2022,核心库)来源期刊</td>\n",
       "      <td>NaN</td>\n",
       "      <td>环境与职业医学</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>41</td>\n",
       "      <td>生态保护下的法律问题思考——评《当代环境保护问题的法律应对》</td>\n",
       "      <td>张梅爱</td>\n",
       "      <td>热带作物学报</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=TN0QDMXJ2apRlMvdH...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>42</td>\n",
       "      <td>打造美丽中国建设的先行示范区——《长江三角洲区域生态环境共同保护规划》解读</td>\n",
       "      <td>葛察忠; 程翠云; 杜艳春; 董战峰</td>\n",
       "      <td>环境保护</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>56.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=nWINmVzNDdSREeaFz...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>43</td>\n",
       "      <td>环境科学与工程专业创新设计课程教学实践研究</td>\n",
       "      <td>胡清; 王超; 黄燕鹏; 王宏</td>\n",
       "      <td>实验室研究与探索</td>\n",
       "      <td>2021-05-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WcNNkbyZ0ZwYWSYxU...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>44</td>\n",
       "      <td>对马克思恩格斯生态文明思想科学认识论的探索</td>\n",
       "      <td>李超超</td>\n",
       "      <td>学校党建与思想教育</td>\n",
       "      <td>2021-05-23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>334.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSY...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>45</td>\n",
       "      <td>基于系统保护规划的海河流域湿地保护优先格局与保护空缺识别</td>\n",
       "      <td>穆泳林;梁晨;李晓文;白军红;崔保山</td>\n",
       "      <td>生态学报</td>\n",
       "      <td>2021-05-23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=WVzskeI52R3gzSUVz...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>46</td>\n",
       "      <td>“三生空间”统筹的科学基础与优化途径探析</td>\n",
       "      <td>江东; 林刚; 付晶莹</td>\n",
       "      <td>自然资源学报</td>\n",
       "      <td>2021-05-21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>735.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSY...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>47</td>\n",
       "      <td>“半个地球”愿景下的保护地识别——基于全球主要优先保护模块</td>\n",
       "      <td>王博宇; 闫慧敏; 胡云锋; 封志明</td>\n",
       "      <td>自然资源学报</td>\n",
       "      <td>2021-05-21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>147.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=w80NmpFW0dTU2FzM5...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>48</td>\n",
       "      <td>科技创新推进黑土地保护与利用,齐力维护国家粮食安全——用好养好黑土地的对策建议</td>\n",
       "      <td>梁爱珍; 李禄军; 祝惠</td>\n",
       "      <td>中国科学院院刊</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>301.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=JtkaVdkclVUbOR1QV...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>49</td>\n",
       "      <td>暨南大学生命科学技术学院莫测辉教授团队</td>\n",
       "      <td>NaN</td>\n",
       "      <td>农业环境科学学报</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>17.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=JtkaVdkclVUbOR1QV...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>50</td>\n",
       "      <td>《中国环境科学》核心影响因子学科排名实现五连冠</td>\n",
       "      <td>NaN</td>\n",
       "      <td>中国环境科学</td>\n",
       "      <td>2021-05-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11.0</td>\n",
       "      <td>下载</td>\n",
       "      <td>https://kns.cnki.net/kcms/detail/detail.aspx?u...</td>\n",
       "      <td>/kcms/download.aspx?filename=142T1YlaKN1UIZzTS...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    Unnamed: 0                                                篇名  \\\n",
       "0            1                         长江南京段沿江岸线景观资源保护对策探讨  网络首发   \n",
       "1            2                     重庆市生态保护红线内的生态系统服务动态变化评估  网络首发   \n",
       "2            3               长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例   \n",
       "3            4                    县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例   \n",
       "4            5                                 中国石油发布2020年环境保护公报   \n",
       "5            6                      基于保护和利用视角下的松岭村乡土景观资源评价  网络首发   \n",
       "6            7                              黑土地保护的激励补偿机制构建  网络首发   \n",
       "7            8                         世界部分国家湿地保护法律制度比较及启示  网络首发   \n",
       "8            9                           国土空间生态保护与修复重大问题研究  网络首发   \n",
       "9           10                              论人工科学、人居环境科学、事理学的同一性   \n",
       "10          11                                   我国草原恢复与保护的问题与对策   \n",
       "11          12                               生态环境保护下中国林业的可持续发展策略   \n",
       "12          13                  宏观生态系统科学整合研究的多学科知识融合及其技术途径  网络首发   \n",
       "13          14                             吉林省生态保护红线分布特征及其监管体系研究   \n",
       "14          15                     以“大保护、大开放、高质量”构建西部大开发新格局的思路研究   \n",
       "15          16              基于生态保护红线管理的塔里木河流域土地利用模拟及生态效益评价  网络首发   \n",
       "16          17                                    基于脑科学的教学设计原则研究   \n",
       "17          18                             陆海统筹视域下我国生态环境保护法律体系重构   \n",
       "18          19                  基于公众科学及分众传播的国家公园宣传推广——以神农架国家公园为例   \n",
       "19          20                构建科学运行机制 指导公司治理实践——评《中国公司治理的理论与证据》   \n",
       "20          21  长江科学院牵头完成的“农村水电绿色发展若干关键技术研究及应用”获大禹水利科学技术奖科技进步二等奖   \n",
       "21          22                                  长江河湖保护与修复高端论坛倡议书   \n",
       "22          23                            《环境科学》再获“百种中国杰出学术期刊”称号   \n",
       "23          24                     《环境科学》连续9次荣获“中国最具国际影响力学术期刊”称号   \n",
       "24          25                                  《环境科学》多项引证指标名列前茅   \n",
       "25          26                                 中国自然保护地旅游产品类型及其特征   \n",
       "26          27              新时代黄河流域生态治理机制研究——评《黄河流域生态保护和高质量发展报告》   \n",
       "27          28                 煤炭城市山水林田湖草生态保护修复分区及规划策略研究——以古交市为例   \n",
       "28          29                          智能时代的教育科学研究：内涵、逻辑框架与实践进路   \n",
       "29          30                               厦门市重点保护植物空间优先保护格局研究   \n",
       "30          31                             珊瑚礁鱼类多样性及保护研究进展  网络首发   \n",
       "31          32          耕地数量、质量、生态“三位一体”视角下我国东北黑土地保护现状及其实现路径选择研究   \n",
       "32          33                              红树林地区法律保护的财产权补偿公正性研究   \n",
       "33          34    我国旅游地理研究格局及热点分析——基于2000—2019年国家自然科学基金旅游课题立项的研究   \n",
       "34          35                       2021年宇航领域科学问题和技术难题在中国航天大会发布   \n",
       "35          36                   休养生息制度背景下的中国耕地保护转型目标框架与路径  网络首发   \n",
       "36          37            机载高光谱成像技术在长江经济带苏、皖、浙地区生态环境保护中的作用  网络首发   \n",
       "37          38        凝聚学会资源 助力深入打好污染防治攻坚战——访中国环境科学学会副理事长、秘书长李春红   \n",
       "38          39                                   黄河流域生态保护的科学传播路径   \n",
       "39          40        喜讯:《环境与职业医学》入选中国科学引文数据库(2021-2022,核心库)来源期刊   \n",
       "40          41                    生态保护下的法律问题思考——评《当代环境保护问题的法律应对》   \n",
       "41          42             打造美丽中国建设的先行示范区——《长江三角洲区域生态环境共同保护规划》解读   \n",
       "42          43                             环境科学与工程专业创新设计课程教学实践研究   \n",
       "43          44                             对马克思恩格斯生态文明思想科学认识论的探索   \n",
       "44          45                      基于系统保护规划的海河流域湿地保护优先格局与保护空缺识别   \n",
       "45          46                              “三生空间”统筹的科学基础与优化途径探析   \n",
       "46          47                     “半个地球”愿景下的保护地识别——基于全球主要优先保护模块   \n",
       "47          48           科技创新推进黑土地保护与利用,齐力维护国家粮食安全——用好养好黑土地的对策建议   \n",
       "48          49                               暨南大学生命科学技术学院莫测辉教授团队   \n",
       "49          50                           《中国环境科学》核心影响因子学科排名实现五连冠   \n",
       "\n",
       "                        作者               刊名              发表时间  被引     下载  操作  \\\n",
       "0   唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶             人民长江  2021-07-01 14:42 NaN    NaN  下载   \n",
       "1            官冬杰; 黄大楠; 殷博灵  重庆交通大学学报(自然科学版)  2021-06-28 11:35 NaN   63.0  下载   \n",
       "2              单文华;徐春峰;李德昌             人民长江        2021-06-28 NaN    NaN  下载   \n",
       "3    牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖        生态与农村环境学报        2021-06-25 NaN   25.0  下载   \n",
       "4                       天工            天然气工业        2021-06-25 NaN    NaN  下载   \n",
       "5      王烨梓;韦宝婧;胡希军;蒋紫君;杜心宇          西北林学院学报  2021-06-24 10:18 NaN   58.0  下载   \n",
       "6                 崔宁波; 生世玉             长白学刊  2021-06-22 15:53 NaN   25.0  下载   \n",
       "7              侯方淼; 李培; 陈勇           世界林业研究  2021-06-22 10:13 NaN   43.0  下载   \n",
       "8                      白中科             地学前缘  2021-06-21 17:46 NaN  199.0  下载   \n",
       "9                  胡飞; 米江辉             包装工程        2021-06-20 NaN   34.0  下载   \n",
       "10       潘庆民;孙佳美;杨元合;刘伟;李昂          中国科学院院刊        2021-06-20 NaN   63.0  下载   \n",
       "11            谢利娟; 王茸仙; 刘慧             林产工业        2021-06-20 NaN   67.0  下载   \n",
       "12        于贵瑞; 任小丽; 杨萌; 陈智           应用生态学报  2021-06-18 16:28 NaN   74.0  下载   \n",
       "13       王媛;庄雨适;孙大光;李昂;宋明晓    东北师大学报(自然科学版)        2021-06-18 NaN   58.0  下载   \n",
       "14           李海龙; 高德步; 谢毓兰           宏观经济研究        2021-06-18 NaN   18.0  下载   \n",
       "15        楚智; 徐长春; 罗映雪; 孙琪             生态学报  2021-06-15 16:32 NaN  136.0  下载   \n",
       "16     程岭; 马翠; 程琳; 时琦; 郑海凤           现代教育技术        2021-06-15 NaN   38.0  下载   \n",
       "17                     李挚萍             中州学刊        2021-06-15 NaN    6.0  下载   \n",
       "18        蔡凌楚; 赵慧; 赵本元; 谭路        长江流域资源与环境        2021-06-15 NaN    NaN  下载   \n",
       "19                 鲁迪; 缪小明         山西财经大学学报  2021-06-11 16:22 NaN  107.0  下载   \n",
       "20                     NaN          长江科学院院报        2021-06-11 NaN    7.0  下载   \n",
       "21                     NaN          长江科学院院报        2021-06-11 NaN   18.0  下载   \n",
       "22                     NaN             环境科学        2021-06-11 NaN   39.0  下载   \n",
       "23                     NaN             环境科学        2021-06-11 NaN    7.0  下载   \n",
       "24                     NaN             环境科学        2021-06-11 NaN   18.0  下载   \n",
       "25      谢冶凤; 吴必虎; 张玉钧; 王梦婷          地域研究与开发        2021-06-10 NaN   84.0  下载   \n",
       "26                     刘素娟             人民黄河        2021-06-10 NaN  118.0  下载   \n",
       "27        常江; 李灿坤; 冯姗姗; 李成             生态经济        2021-06-09 NaN  182.0  下载   \n",
       "28          郑永和; 王杨春晓; 王一岩           中国远程教育        2021-06-09 NaN  458.0  下载   \n",
       "29      钱灵颖; 黄智洵; 杨盛昌; 曹文志             生态学报        2021-06-08 NaN    NaN  下载   \n",
       "30            代血娇; 张俊; 陈作志            生态学杂志  2021-06-07 13:43 NaN  186.0  下载   \n",
       "31     刘洪彬;李顺婷;吴梦瑶;孙福军;王秋兵             土壤通报        2021-06-06 NaN  222.0  下载   \n",
       "32                     谢福荣             农业经济        2021-06-04 NaN   33.0  下载   \n",
       "33             雷彬; 李松志; 张祚           世界地理研究        2021-05-30 NaN  242.0  下载   \n",
       "34                     NaN             宇航学报        2021-05-30 NaN   10.0  下载   \n",
       "35                     孔祥斌     湖南师范大学社会科学学报  2021-05-28 16:23 NaN  254.0  下载   \n",
       "36        修连存;郑志忠;杨彬;殷靓;高扬             中国地质  2021-05-28 13:42 NaN  140.0  下载   \n",
       "37                     祝叶华             科技导报        2021-05-28 NaN    1.0  下载   \n",
       "38                     侯丙孬         中学政治教学参考        2021-05-25 NaN   73.0  下载   \n",
       "39                     NaN          环境与职业医学        2021-05-25 NaN    3.0  下载   \n",
       "40                     张梅爱           热带作物学报        2021-05-25 NaN  100.0  下载   \n",
       "41      葛察忠; 程翠云; 杜艳春; 董战峰             环境保护        2021-05-25 NaN   56.0  下载   \n",
       "42         胡清; 王超; 黄燕鹏; 王宏         实验室研究与探索        2021-05-25 NaN   18.0  下载   \n",
       "43                     李超超        学校党建与思想教育        2021-05-23 NaN  334.0  下载   \n",
       "44      穆泳林;梁晨;李晓文;白军红;崔保山             生态学报        2021-05-23 NaN   25.0  下载   \n",
       "45             江东; 林刚; 付晶莹           自然资源学报        2021-05-21 NaN  735.0  下载   \n",
       "46      王博宇; 闫慧敏; 胡云锋; 封志明           自然资源学报        2021-05-21 NaN  147.0  下载   \n",
       "47            梁爱珍; 李禄军; 祝惠          中国科学院院刊        2021-05-20 NaN  301.0  下载   \n",
       "48                     NaN         农业环境科学学报        2021-05-20 NaN   17.0  下载   \n",
       "49                     NaN           中国环境科学        2021-05-20 NaN   11.0  下载   \n",
       "\n",
       "                                                 页面链接  \\\n",
       "0   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "1   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "2   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "3   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "4   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "5   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "6   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "7   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "8   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "9   https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "10  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "11  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "12  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "13  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "14  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "15  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "16  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "17  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "18  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "19  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "20  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "21  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "22  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "23  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "24  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "25  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "26  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "27  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "28  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "29  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "30  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "31  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "32  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "33  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "34  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "35  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "36  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "37  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "38  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "39  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "40  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "41  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "42  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "43  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "44  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "45  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "46  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "47  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "48  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "49  https://kns.cnki.net/kcms/detail/detail.aspx?u...   \n",
       "\n",
       "                                                pdf下载  \n",
       "0   /kcms/download.aspx?filename=nFzbHpme2tydzJ3cr...  \n",
       "1   /kcms/download.aspx?filename=YdFNJdnbMR2cnpmTh...  \n",
       "2   /kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5U...  \n",
       "3   /kcms/download.aspx?filename=WVTNEUXhjRLp0Mr5U...  \n",
       "4   /kcms/download.aspx?filename=jTn1UTmhmbFF2cCF0...  \n",
       "5   /kcms/download.aspx?filename=DNzTJNzT4IEMsJFRs...  \n",
       "6   /kcms/download.aspx?filename=6hkc1xkSZZUOzElWh...  \n",
       "7   /kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRr...  \n",
       "8   /kcms/download.aspx?filename=KNHR2lUSxdWa3M3ZX...  \n",
       "9   /kcms/download.aspx?filename=WbjFjNlFVe4A1cvRm...  \n",
       "10  /kcms/download.aspx?filename=WbjFjNlFVe4A1cvRm...  \n",
       "11  /kcms/download.aspx?filename=UZWNnUV9CWBhnNLRF...  \n",
       "12  /kcms/download.aspx?filename=H9ybrIHV5NmdJpVN3...  \n",
       "13  /kcms/download.aspx?filename=Y5UciJlZ0tUSCBzRr...  \n",
       "14  /kcms/download.aspx?filename=iTqpUS610V5t2V2g2...  \n",
       "15  /kcms/download.aspx?filename=P9CZRtERWREdLlWc3...  \n",
       "16  /kcms/download.aspx?filename=EZEZjQplVbMl1M4w0...  \n",
       "17  /kcms/download.aspx?filename=ybrIHV5NmdJpVN3MT...  \n",
       "18  /kcms/download.aspx?filename=WbjFjNlFVe4A1cvRm...  \n",
       "19  /kcms/download.aspx?filename=QZkZD10QwAzLENXSX...  \n",
       "20  /kcms/download.aspx?filename=mRUYPBFSwMXba1GM3...  \n",
       "21  /kcms/download.aspx?filename=SRlMIZjSOBzbWtib2...  \n",
       "22  /kcms/download.aspx?filename=4Y3U3sma1EzRVtkYU...  \n",
       "23  /kcms/download.aspx?filename=5lWbjFjNlFVe4A1cv...  \n",
       "24  /kcms/download.aspx?filename=zZWQx4WapZUd0BFWv...  \n",
       "25  /kcms/download.aspx?filename=3siTqpUS610V5t2V2...  \n",
       "26  /kcms/download.aspx?filename=SMEd3V0FHTFFFVC9E...  \n",
       "27  /kcms/download.aspx?filename=yMWUGZXZit0NSdnM2...  \n",
       "28  /kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt...  \n",
       "29  /kcms/download.aspx?filename=lW2s0Nv1mN1hkc1sS...  \n",
       "30  /kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt...  \n",
       "31  /kcms/download.aspx?filename=PJEZEZjQplVbMl1M4...  \n",
       "32  /kcms/download.aspx?filename=PJEZEZjQplVbMl1M4...  \n",
       "33  /kcms/download.aspx?filename=3siTqpUS610V5t2V2...  \n",
       "34  /kcms/download.aspx?filename=WQx4WapZUd0BFWvNl...  \n",
       "35  /kcms/download.aspx?filename=RZUZWNnUV9CWBhnNL...  \n",
       "36  /kcms/download.aspx?filename=2YXWjtmcI92K0RXNy...  \n",
       "37  /kcms/download.aspx?filename=iTqpUS610V5t2V2g2...  \n",
       "38  /kcms/download.aspx?filename=2YXWjtmcI92K0RXNy...  \n",
       "39  /kcms/download.aspx?filename=lp0Tj5GOUVDe0pkYt...  \n",
       "40  /kcms/download.aspx?filename=TN0QDMXJ2apRlMvdH...  \n",
       "41  /kcms/download.aspx?filename=nWINmVzNDdSREeaFz...  \n",
       "42  /kcms/download.aspx?filename=WcNNkbyZ0ZwYWSYxU...  \n",
       "43  /kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSY...  \n",
       "44  /kcms/download.aspx?filename=WVzskeI52R3gzSUVz...  \n",
       "45  /kcms/download.aspx?filename=kVWcNNkbyZ0ZwYWSY...  \n",
       "46  /kcms/download.aspx?filename=w80NmpFW0dTU2FzM5...  \n",
       "47  /kcms/download.aspx?filename=JtkaVdkclVUbOR1QV...  \n",
       "48  /kcms/download.aspx?filename=JtkaVdkclVUbOR1QV...  \n",
       "49  /kcms/download.aspx?filename=142T1YlaKN1UIZzTS...  "
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_pdf_links=pd.DataFrame({'pdf下载':pdf_links})\n",
    "df_表格合并=pd.concat([df_表格合并,df_pdf_links],axis=1)\n",
    "df_表格合并"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 翻页"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [],
   "source": [
    "import time"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'下一页'"
      ]
     },
     "execution_count": 41,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "element = driver.find_element_by_id('PageNext')\n",
    "element.get_attribute('innerHTML')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'1/120'"
      ]
     },
     "execution_count": 42,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 跳转上限\n",
    "element = driver.find_element_by_xpath('//span[@class=\"countPageMark\"]')\n",
    "page_str = element.get_attribute('innerHTML')\n",
    "page_str "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['1', '120']"
      ]
     },
     "execution_count": 43,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "page_int = page_str.split('/')\n",
    "page_int"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27]\n"
     ]
    }
   ],
   "source": [
    "# 所有页数\n",
    "pages = list(range(1,28))\n",
    "print(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [],
   "source": [
    "biaoge_html = dict()\n",
    "main_content =\"\"\n",
    "element = None"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {},
   "outputs": [],
   "source": [
    "def process_pages (pages):\n",
    "    for p in pages:\n",
    "        print (p,end='\\t')\n",
    "        跳转 = driver.find_element_by_id('PageNext')\n",
    "        跳转.click()\n",
    "        time.sleep(8+1*random())\n",
    "        # 获取含有页面主要数据的表格\n",
    "        element = driver.find_element_by_id('gridTable')\n",
    "        main_content = element.get_attribute('innerHTML')\n",
    "        biaoge_html[p] = main_content"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1\t2\t3\t4\t5\t6\t7\t8\t9\t10\t11\t12\t13\t14\t15\t16\t17\t18\t19\t20\t21\t22\t23\t24\t25\t26\t27\t"
     ]
    }
   ],
   "source": [
    "# 翻页操作\n",
    "process_pages(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>html_snippets</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>\\n&lt;div class=\"toolbar\"&gt;&lt;div id=\"countPageDiv\" ...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                        html_snippets\n",
       "1   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "2   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "3   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "4   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "5   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "6   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "7   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "8   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "9   \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "10  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "11  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "12  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "13  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "14  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "15  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "16  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "17  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "18  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "19  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "20  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "21  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "22  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "23  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "24  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "25  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "26  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ...\n",
       "27  \\n<div class=\"toolbar\"><div id=\"countPageDiv\" ..."
      ]
     },
     "execution_count": 48,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df = pd.DataFrame([biaoge_html]).T\n",
    "df.columns = [\"html_snippets\"]\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [],
   "source": [
    "网站 = \"中国知网\"\n",
    "fn = { \"output\" : { \"htm_snippets\": \"data_raw_src/知网_htm_snippets_{网站}.tsv\"}\n",
    "     }"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 保存页面内容的csv文件\n",
    "filename = fn [\"output\"] [\"htm_snippets\"] \n",
    "df.to_csv(filename.format(网站=网站), sep=\"\\t\", encoding=\"utf8\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [],
   "source": [
    "l_df = []\n",
    "for p in pages:\n",
    "    表格 = pd.read_html(biaoge_html[p])[0]\n",
    "    l_df.append(表格)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>index</th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>篇名</th>\n",
       "      <th>作者</th>\n",
       "      <th>刊名</th>\n",
       "      <th>发表时间</th>\n",
       "      <th>被引</th>\n",
       "      <th>下载</th>\n",
       "      <th>操作</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>长江南京段沿江岸线景观资源保护对策探讨  网络首发</td>\n",
       "      <td>唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-07-01 14:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>重庆市生态保护红线内的生态系统服务动态变化评估  网络首发</td>\n",
       "      <td>官冬杰; 黄大楠; 殷博灵</td>\n",
       "      <td>重庆交通大学学报(自然科学版)</td>\n",
       "      <td>2021-06-28 11:35</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例</td>\n",
       "      <td>单文华;徐春峰;李德昌</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-06-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例</td>\n",
       "      <td>牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖</td>\n",
       "      <td>生态与农村环境学报</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>中国石油发布2020年环境保护公报</td>\n",
       "      <td>天工</td>\n",
       "      <td>天然气工业</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1395</th>\n",
       "      <td>1345</td>\n",
       "      <td>1396</td>\n",
       "      <td>国家管辖范围以外区域海洋生物多样性保护的新视域:包括海洋保护区在内的划区管理工具</td>\n",
       "      <td>廖建基; 黄浩; 李伟文; 王磊; 安丽娜</td>\n",
       "      <td>生物多样性</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>6.0</td>\n",
       "      <td>644.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1396</th>\n",
       "      <td>1346</td>\n",
       "      <td>1397</td>\n",
       "      <td>中国耕地保护制度70年：历史嬗变、现实探源及\\t路径优化</td>\n",
       "      <td>牛善栋; 方斌</td>\n",
       "      <td>中国土地科学</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>20.0</td>\n",
       "      <td>2143.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1397</th>\n",
       "      <td>1347</td>\n",
       "      <td>1398</td>\n",
       "      <td>中国海洋科学技术发展70年</td>\n",
       "      <td>陈连增; 雷波</td>\n",
       "      <td>海洋学报</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>14.0</td>\n",
       "      <td>800.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1398</th>\n",
       "      <td>1348</td>\n",
       "      <td>1399</td>\n",
       "      <td>生态保护红线制度的理论证成与中国实践</td>\n",
       "      <td>莫张勤</td>\n",
       "      <td>长江流域资源与环境</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>4.0</td>\n",
       "      <td>405.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1399</th>\n",
       "      <td>1349</td>\n",
       "      <td>1400</td>\n",
       "      <td>序言——《环境科学研究》“庆祝中华人民共和国成立70周年”大气专刊</td>\n",
       "      <td>李海生</td>\n",
       "      <td>环境科学研究</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>1.0</td>\n",
       "      <td>66.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1400 rows × 9 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      index  Unnamed: 0                                        篇名  \\\n",
       "0         0           1                 长江南京段沿江岸线景观资源保护对策探讨  网络首发   \n",
       "1         1           2             重庆市生态保护红线内的生态系统服务动态变化评估  网络首发   \n",
       "2         2           3       长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例   \n",
       "3         3           4            县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例   \n",
       "4         4           5                         中国石油发布2020年环境保护公报   \n",
       "...     ...         ...                                       ...   \n",
       "1395   1345        1396  国家管辖范围以外区域海洋生物多样性保护的新视域:包括海洋保护区在内的划区管理工具   \n",
       "1396   1346        1397              中国耕地保护制度70年：历史嬗变、现实探源及\\t路径优化   \n",
       "1397   1347        1398                             中国海洋科学技术发展70年   \n",
       "1398   1348        1399                        生态保护红线制度的理论证成与中国实践   \n",
       "1399   1349        1400         序言——《环境科学研究》“庆祝中华人民共和国成立70周年”大气专刊   \n",
       "\n",
       "                          作者               刊名              发表时间    被引      下载  \\\n",
       "0     唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶             人民长江  2021-07-01 14:42   NaN     NaN   \n",
       "1              官冬杰; 黄大楠; 殷博灵  重庆交通大学学报(自然科学版)  2021-06-28 11:35   NaN    63.0   \n",
       "2                单文华;徐春峰;李德昌             人民长江        2021-06-28   NaN     NaN   \n",
       "3      牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖        生态与农村环境学报        2021-06-25   NaN    25.0   \n",
       "4                         天工            天然气工业        2021-06-25   NaN     NaN   \n",
       "...                      ...              ...               ...   ...     ...   \n",
       "1395   廖建基; 黄浩; 李伟文; 王磊; 安丽娜            生物多样性        2019-10-15   6.0   644.0   \n",
       "1396                 牛善栋; 方斌           中国土地科学        2019-10-15  20.0  2143.0   \n",
       "1397                 陈连增; 雷波             海洋学报        2019-10-15  14.0   800.0   \n",
       "1398                     莫张勤        长江流域资源与环境        2019-10-15   4.0   405.0   \n",
       "1399                     李海生           环境科学研究        2019-10-15   1.0    66.0   \n",
       "\n",
       "      操作  \n",
       "0     下载  \n",
       "1     下载  \n",
       "2     下载  \n",
       "3     下载  \n",
       "4     下载  \n",
       "...   ..  \n",
       "1395  下载  \n",
       "1396  下载  \n",
       "1397  下载  \n",
       "1398  下载  \n",
       "1399  下载  \n",
       "\n",
       "[1400 rows x 9 columns]"
      ]
     },
     "execution_count": 52,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取全部页面（27页）内容信息\n",
    "df_url_out = pd.concat(l_df).reset_index(drop=True)\n",
    "df_总表 = 首页主要数据.append(df_url_out).reset_index()\n",
    "df_总表"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>index</th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>篇名</th>\n",
       "      <th>作者</th>\n",
       "      <th>刊名</th>\n",
       "      <th>发表时间</th>\n",
       "      <th>被引</th>\n",
       "      <th>下载</th>\n",
       "      <th>操作</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>长江南京段沿江岸线景观资源保护对策探讨  网络首发</td>\n",
       "      <td>唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-07-01 14:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>重庆市生态保护红线内的生态系统服务动态变化评估  网络首发</td>\n",
       "      <td>官冬杰; 黄大楠; 殷博灵</td>\n",
       "      <td>重庆交通大学学报(自然科学版)</td>\n",
       "      <td>2021-06-28 11:35</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例</td>\n",
       "      <td>单文华;徐春峰;李德昌</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-06-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例</td>\n",
       "      <td>牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖</td>\n",
       "      <td>生态与农村环境学报</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>中国石油发布2020年环境保护公报</td>\n",
       "      <td>天工</td>\n",
       "      <td>天然气工业</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1395</th>\n",
       "      <td>1345</td>\n",
       "      <td>1396</td>\n",
       "      <td>国家管辖范围以外区域海洋生物多样性保护的新视域:包括海洋保护区在内的划区管理工具</td>\n",
       "      <td>廖建基; 黄浩; 李伟文; 王磊; 安丽娜</td>\n",
       "      <td>生物多样性</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>6.0</td>\n",
       "      <td>644.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1396</th>\n",
       "      <td>1346</td>\n",
       "      <td>1397</td>\n",
       "      <td>中国耕地保护制度70年：历史嬗变、现实探源及\\t路径优化</td>\n",
       "      <td>牛善栋; 方斌</td>\n",
       "      <td>中国土地科学</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>20.0</td>\n",
       "      <td>2143.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1397</th>\n",
       "      <td>1347</td>\n",
       "      <td>1398</td>\n",
       "      <td>中国海洋科学技术发展70年</td>\n",
       "      <td>陈连增; 雷波</td>\n",
       "      <td>海洋学报</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>14.0</td>\n",
       "      <td>800.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1398</th>\n",
       "      <td>1348</td>\n",
       "      <td>1399</td>\n",
       "      <td>生态保护红线制度的理论证成与中国实践</td>\n",
       "      <td>莫张勤</td>\n",
       "      <td>长江流域资源与环境</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>4.0</td>\n",
       "      <td>405.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1399</th>\n",
       "      <td>1349</td>\n",
       "      <td>1400</td>\n",
       "      <td>序言——《环境科学研究》“庆祝中华人民共和国成立70周年”大气专刊</td>\n",
       "      <td>李海生</td>\n",
       "      <td>环境科学研究</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>1.0</td>\n",
       "      <td>66.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1400 rows × 9 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      index  Unnamed: 0                                        篇名  \\\n",
       "0         0           1                 长江南京段沿江岸线景观资源保护对策探讨  网络首发   \n",
       "1         1           2             重庆市生态保护红线内的生态系统服务动态变化评估  网络首发   \n",
       "2         2           3       长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例   \n",
       "3         3           4            县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例   \n",
       "4         4           5                         中国石油发布2020年环境保护公报   \n",
       "...     ...         ...                                       ...   \n",
       "1395   1345        1396  国家管辖范围以外区域海洋生物多样性保护的新视域:包括海洋保护区在内的划区管理工具   \n",
       "1396   1346        1397              中国耕地保护制度70年：历史嬗变、现实探源及\\t路径优化   \n",
       "1397   1347        1398                             中国海洋科学技术发展70年   \n",
       "1398   1348        1399                        生态保护红线制度的理论证成与中国实践   \n",
       "1399   1349        1400         序言——《环境科学研究》“庆祝中华人民共和国成立70周年”大气专刊   \n",
       "\n",
       "                          作者               刊名              发表时间    被引      下载  \\\n",
       "0     唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶             人民长江  2021-07-01 14:42   NaN     NaN   \n",
       "1              官冬杰; 黄大楠; 殷博灵  重庆交通大学学报(自然科学版)  2021-06-28 11:35   NaN    63.0   \n",
       "2                单文华;徐春峰;李德昌             人民长江        2021-06-28   NaN     NaN   \n",
       "3      牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖        生态与农村环境学报        2021-06-25   NaN    25.0   \n",
       "4                         天工            天然气工业        2021-06-25   NaN     NaN   \n",
       "...                      ...              ...               ...   ...     ...   \n",
       "1395   廖建基; 黄浩; 李伟文; 王磊; 安丽娜            生物多样性        2019-10-15   6.0   644.0   \n",
       "1396                 牛善栋; 方斌           中国土地科学        2019-10-15  20.0  2143.0   \n",
       "1397                 陈连增; 雷波             海洋学报        2019-10-15  14.0   800.0   \n",
       "1398                     莫张勤        长江流域资源与环境        2019-10-15   4.0   405.0   \n",
       "1399                     李海生           环境科学研究        2019-10-15   1.0    66.0   \n",
       "\n",
       "      操作  \n",
       "0     下载  \n",
       "1     下载  \n",
       "2     下载  \n",
       "3     下载  \n",
       "4     下载  \n",
       "...   ..  \n",
       "1395  下载  \n",
       "1396  下载  \n",
       "1397  下载  \n",
       "1398  下载  \n",
       "1399  下载  \n",
       "\n",
       "[1400 rows x 9 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 将内容表格存在本地\n",
    "with pd.ExcelWriter('知网文章数据.xlsx',mode='w',engine=\"openpyxl\") as writer:  \n",
    "            df_总表.to_excel(writer,sheet_name=\"知网\")\n",
    "display(df_总表)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 将内容表格存在本地\n",
    "    # 准备工作"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 92,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-92-c9ab3096b3ad>:16: DeprecationWarning: use options instead of chrome_options\n",
      "  driver = webdriver.Chrome(executable_path=r'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chromedriver.exe', chrome_options=options)\n"
     ]
    }
   ],
   "source": [
    "opts = webdriver.ChromeOptions()\n",
    "opts.add_argument('--no-sandbox')#解决DevToolsActivePort文件不存在的报错\n",
    "opts.add_argument('window-size=1920x3000') #指定浏览器分辨率\n",
    "opts.add_argument('--disable-gpu') #谷歌文档提到需要加上一这个属性来规避bug\n",
    "opts.add_argument('--hide-scrollbars') #隐藏滚动条, 应对些特殊页面\n",
    "#opts.add_argument('blink-settings=imagesEnabled=false') #不加载图片, 提升速度\n",
    "#opts.add_argument('--headless') #浏览器不提供可视化页面. linux下如果系统不支持可视化不加这条会启动失败\n",
    "# opts.binary_location = \"C:\\portable\\PortableApps\\IronPortable\\App\\Iron\\chrome.exe\"\n",
    "# opts.binary_location = \"C:\\Program Files\\Google\\Chrome\\Application\\chromedriver.exe\" #\"H:\\_coding_\\Gitee\\InternetNewMedia\\CapstonePrj2016\\chromedriver.exe\"  \n",
    "\n",
    "\n",
    "options = webdriver.ChromeOptions()\n",
    "out_path = r'C:\\Users\\HP\\Desktop\\期末CNKI\\pdf_download'  # 是你想指定的路径\n",
    "prefs = {'profile.default_content_settings.popups': 0, 'download.default_directory': out_path}\n",
    "options.add_experimental_option('prefs', prefs)\n",
    "driver = webdriver.Chrome(executable_path=r'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chromedriver.exe', chrome_options=options)\n",
    "#driver = webdriver.Chrome( chrome_options = opts) #desired_capabilities=caps"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 93,
   "metadata": {},
   "outputs": [],
   "source": [
    "import base64\n",
    "import json\n",
    "import requests\n",
    "def base64_api(uname, pwd, img, typeid):\n",
    "    with open(img, 'rb') as f:\n",
    "        base64_data = base64.b64encode(f.read())\n",
    "        b64 = base64_data.decode()\n",
    "    data = {\"username\": uname, \"password\": pwd, \"typeid\": typeid, \"image\": b64}\n",
    "    result = json.loads(requests.post(\"http://api.ttshitu.com/predict\", json=data).text)\n",
    "    if result['success']:\n",
    "        return result[\"data\"][\"result\"]\n",
    "    else:\n",
    "        return result[\"message\"]\n",
    "    return \"\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "# 读取上面已保存在本地的xlsx文件【利用里面的pdf下载链接】\n",
    "data = pd.read_excel(\"知网文章数据.xlsx\") \n",
    "base = \"https://kns.cnki.net/\"\n",
    "# 开始与结束的链接序号 count end_count\n",
    "count = 421\n",
    "end_count = 450 \n",
    "# 读取title、pdf链接\n",
    "title_list = data[\"篇名\"].to_list()[count:end_count]\n",
    "download_url_list = data[\"pdf\"].to_list()[count:end_count]\n",
    "list_all_url_list = data[\"详情页链接\"].to_list()[count:end_count]\n",
    "for title,download_url,list_all_url in zip(title_list,download_url_list,list_all_url_list):\n",
    "    try:\n",
    "        # 进入pdf的下载链接\n",
    "        driver.get(download_url)\n",
    "        time.sleep(5)\n",
    "        # 出现验证码的情况\n",
    "        if driver.find_element_by_xpath('//*[@id=\"vImg\"]'):\n",
    "            time.sleep(5)\n",
    "            ele = driver.find_element_by_id('vImg')\n",
    "            ele.screenshot('ele.png')\n",
    "            #截取全屏后定位截图里验证码的位置，并重新裁剪保存\n",
    "            # api识别部分\n",
    "            img_path = \"C:/Users/HP/Desktop/期末CNKI/ele.png\"\n",
    "            result = base64_api(uname='trevor', pwd='18078846977',img=img_path,typeid=3)\n",
    "            # 输出识别出的验证码\n",
    "            print(\"验证码识别：\",result) \n",
    "            # 将验证码填入\n",
    "            driver.find_element_by_id('vcode').send_keys(result)\n",
    "            time.sleep(5)\n",
    "            # 点击验证码的提交，然后开始下载\n",
    "            driver.find_element_by_xpath('/html/body/div/form/dl/dd/button').click()\n",
    "    except:\n",
    "        print(f'{title}----已下载')\n",
    "        continue"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 96,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>index</th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>篇名</th>\n",
       "      <th>作者</th>\n",
       "      <th>刊名</th>\n",
       "      <th>发表时间</th>\n",
       "      <th>被引</th>\n",
       "      <th>下载</th>\n",
       "      <th>操作</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>长江南京段沿江岸线景观资源保护对策探讨  网络首发</td>\n",
       "      <td>唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-07-01 14:42</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>重庆市生态保护红线内的生态系统服务动态变化评估  网络首发</td>\n",
       "      <td>官冬杰; 黄大楠; 殷博灵</td>\n",
       "      <td>重庆交通大学学报(自然科学版)</td>\n",
       "      <td>2021-06-28 11:35</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例</td>\n",
       "      <td>单文华;徐春峰;李德昌</td>\n",
       "      <td>人民长江</td>\n",
       "      <td>2021-06-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例</td>\n",
       "      <td>牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖</td>\n",
       "      <td>生态与农村环境学报</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>中国石油发布2020年环境保护公报</td>\n",
       "      <td>天工</td>\n",
       "      <td>天然气工业</td>\n",
       "      <td>2021-06-25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1395</th>\n",
       "      <td>1345</td>\n",
       "      <td>1396</td>\n",
       "      <td>国家管辖范围以外区域海洋生物多样性保护的新视域:包括海洋保护区在内的划区管理工具</td>\n",
       "      <td>廖建基; 黄浩; 李伟文; 王磊; 安丽娜</td>\n",
       "      <td>生物多样性</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>6.0</td>\n",
       "      <td>644.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1396</th>\n",
       "      <td>1346</td>\n",
       "      <td>1397</td>\n",
       "      <td>中国耕地保护制度70年：历史嬗变、现实探源及\\t路径优化</td>\n",
       "      <td>牛善栋; 方斌</td>\n",
       "      <td>中国土地科学</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>20.0</td>\n",
       "      <td>2143.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1397</th>\n",
       "      <td>1347</td>\n",
       "      <td>1398</td>\n",
       "      <td>中国海洋科学技术发展70年</td>\n",
       "      <td>陈连增; 雷波</td>\n",
       "      <td>海洋学报</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>14.0</td>\n",
       "      <td>800.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1398</th>\n",
       "      <td>1348</td>\n",
       "      <td>1399</td>\n",
       "      <td>生态保护红线制度的理论证成与中国实践</td>\n",
       "      <td>莫张勤</td>\n",
       "      <td>长江流域资源与环境</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>4.0</td>\n",
       "      <td>405.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1399</th>\n",
       "      <td>1349</td>\n",
       "      <td>1400</td>\n",
       "      <td>序言——《环境科学研究》“庆祝中华人民共和国成立70周年”大气专刊</td>\n",
       "      <td>李海生</td>\n",
       "      <td>环境科学研究</td>\n",
       "      <td>2019-10-15</td>\n",
       "      <td>1.0</td>\n",
       "      <td>66.0</td>\n",
       "      <td>下载</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1400 rows × 9 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      index  Unnamed: 0                                        篇名  \\\n",
       "0         0           1                 长江南京段沿江岸线景观资源保护对策探讨  网络首发   \n",
       "1         1           2             重庆市生态保护红线内的生态系统服务动态变化评估  网络首发   \n",
       "2         2           3       长江大保护背景下水利风景区项目综合效益评价——以苏州市张家港湾项目为例   \n",
       "3         3           4            县域生物多样性保护优先格局评价及保护体系优化：以武夷山市为例   \n",
       "4         4           5                         中国石油发布2020年环境保护公报   \n",
       "...     ...         ...                                       ...   \n",
       "1395   1345        1396  国家管辖范围以外区域海洋生物多样性保护的新视域:包括海洋保护区在内的划区管理工具   \n",
       "1396   1346        1397              中国耕地保护制度70年：历史嬗变、现实探源及\\t路径优化   \n",
       "1397   1347        1398                             中国海洋科学技术发展70年   \n",
       "1398   1348        1399                        生态保护红线制度的理论证成与中国实践   \n",
       "1399   1349        1400         序言——《环境科学研究》“庆祝中华人民共和国成立70周年”大气专刊   \n",
       "\n",
       "                          作者               刊名              发表时间    被引      下载  \\\n",
       "0     唐晓岚; 周铭杰; 杨阳; 李彬彬; 张晶晶             人民长江  2021-07-01 14:42   NaN     NaN   \n",
       "1              官冬杰; 黄大楠; 殷博灵  重庆交通大学学报(自然科学版)  2021-06-28 11:35   NaN    63.0   \n",
       "2                单文华;徐春峰;李德昌             人民长江        2021-06-28   NaN     NaN   \n",
       "3      牟雪洁; 饶胜; 张箫; 王夏晖; 朱振肖        生态与农村环境学报        2021-06-25   NaN    25.0   \n",
       "4                         天工            天然气工业        2021-06-25   NaN     NaN   \n",
       "...                      ...              ...               ...   ...     ...   \n",
       "1395   廖建基; 黄浩; 李伟文; 王磊; 安丽娜            生物多样性        2019-10-15   6.0   644.0   \n",
       "1396                 牛善栋; 方斌           中国土地科学        2019-10-15  20.0  2143.0   \n",
       "1397                 陈连增; 雷波             海洋学报        2019-10-15  14.0   800.0   \n",
       "1398                     莫张勤        长江流域资源与环境        2019-10-15   4.0   405.0   \n",
       "1399                     李海生           环境科学研究        2019-10-15   1.0    66.0   \n",
       "\n",
       "      操作  \n",
       "0     下载  \n",
       "1     下载  \n",
       "2     下载  \n",
       "3     下载  \n",
       "4     下载  \n",
       "...   ..  \n",
       "1395  下载  \n",
       "1396  下载  \n",
       "1397  下载  \n",
       "1398  下载  \n",
       "1399  下载  \n",
       "\n",
       "[1400 rows x 9 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 将内容表格存在本地\n",
    "with pd.ExcelWriter('知网文章数据.xlsx',mode='w',engine=\"openpyxl\") as writer:  \n",
    "            df_总表.to_excel(writer,sheet_name=\"知网\")\n",
    "display(df_总表)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 下载refworks文件及原文"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 103,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n"
     ]
    }
   ],
   "source": [
    "# 导出refworks文件（.txt）和下载文章\n",
    "# 每次全选不能超过500篇，分3次进行\n",
    "\n",
    "pages = list(range(1,11))\n",
    "print(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 104,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['CDwindow-2CBF5C5A0A37F5EB0CB0ACF37DF0DAA6',\n",
       " 'CDwindow-4AEBE8F543D03F1FDB23083CEEE9E30D',\n",
       " 'CDwindow-75BCDFC5B79040AC36F440635F49B00C']"
      ]
     },
     "execution_count": 104,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 所有窗口ID\n",
    "driver.window_handles"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 105,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-105-6c6d5ce6602d>:1: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[1])\n"
     ]
    }
   ],
   "source": [
    "driver.switch_to_window(driver.window_handles[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 106,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 清除选择\n",
    "driver.find_element_by_xpath('//*[@id=\"gridTable\"]/div[1]/div[2]/div[1]/a').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 107,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_id('PageNext').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 108,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 选中页面50篇 —> 翻页\n",
    "def process_choose(pages):\n",
    "    for p in pages:\n",
    "        print (p,end='\\t')\n",
    "        全选 = driver.find_element_by_id('selectCheckAll1')\n",
    "        全选.click()\n",
    "        time.sleep(30+20*random())\n",
    "        跳转 = driver.find_element_by_id('PageNext')\n",
    "        跳转.click()\n",
    "        time.sleep(5)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 109,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1\t2\t3\t4\t5\t6\t7\t8\t9\t10\t"
     ]
    }
   ],
   "source": [
    "process_choose(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 110,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 因出现错误（非验证码），补选最后两页文章\n",
    "driver.find_element_by_id('selectCheckAll1').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 111,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_id('PageNext').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 112,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_id('selectCheckAll1').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 113,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出与分析 \n",
    "driver.find_element_by_xpath('//i[@class=\"icon-d\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 114,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出文献\n",
    "driver.find_element_by_xpath('//i[@class=\"icon-r\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 115,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 点击Refworks\n",
    "driver.find_element_by_xpath('//a[@exporttype=\"Refworks\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 116,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['CDwindow-2CBF5C5A0A37F5EB0CB0ACF37DF0DAA6',\n",
       " 'CDwindow-4AEBE8F543D03F1FDB23083CEEE9E30D',\n",
       " 'CDwindow-75BCDFC5B79040AC36F440635F49B00C',\n",
       " 'CDwindow-EC6DE2B6DD54EC586D23F92791395C6B']"
      ]
     },
     "execution_count": 116,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 所有窗口ID\n",
    "driver.window_handles"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 118,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-118-1f3bb34cc9cb>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[3])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[3])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 119,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出 .txt文件\n",
    "driver.find_element_by_xpath('//i[@class=\"icon icon-export\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 120,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 关闭已经操作过的窗口\n",
    "driver.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 130,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-130-0188c2a7ff70>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[1])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 122,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 清除选择\n",
    "driver.find_element_by_xpath('//*[@id=\"gridTable\"]/div[1]/div[2]/div[1]/a').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 123,
   "metadata": {},
   "outputs": [],
   "source": [
    "driver.find_element_by_id('PageNext').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 124,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[11, 12, 13, 14, 15, 16, 17, 18, 19, 20]\n"
     ]
    }
   ],
   "source": [
    "# 第二轮下载\n",
    "pages = list(range(11,21))\n",
    "print(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 126,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "11\t12\t13\t14\t15\t16\t17\t18\t19\t20\t"
     ]
    }
   ],
   "source": [
    "process_choose(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 133,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出与分析 \n",
    "driver.find_element_by_xpath('//i[@class=\"icon-d\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 134,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出文献\n",
    "driver.find_element_by_xpath('//i[@class=\"icon-r\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 135,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 点击Refworks\n",
    "driver.find_element_by_xpath('//a[@exporttype=\"Refworks\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 136,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['CDwindow-2CBF5C5A0A37F5EB0CB0ACF37DF0DAA6',\n",
       " 'CDwindow-4AEBE8F543D03F1FDB23083CEEE9E30D',\n",
       " 'CDwindow-75BCDFC5B79040AC36F440635F49B00C',\n",
       " 'CDwindow-8C65D0CDB672B2F275E959823FA53546']"
      ]
     },
     "execution_count": 136,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 所有窗口ID\n",
    "driver.window_handles"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 138,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-138-1f3bb34cc9cb>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[3])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[3])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 139,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出 .txt文件\n",
    "driver.find_element_by_xpath('//i[@class=\"icon icon-export\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 140,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 关闭已经操作过的窗口\n",
    "driver.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 146,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-146-0188c2a7ff70>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[1])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 147,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 批量下载\n",
    "driver.find_element_by_xpath('//li[@class=\"bulkdownload export\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 152,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-152-1f3bb34cc9cb>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[3])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[3])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 153,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 下载所选文献（480篇）\n",
    "driver.find_element_by_id('btn-download-all').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 154,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[21, 22, 23, 24, 25, 26, 27]\n"
     ]
    }
   ],
   "source": [
    "# 第三轮下载\n",
    "pages = list(range(21,28))\n",
    "print(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 159,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-159-0188c2a7ff70>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[1])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 160,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "21\t22\t23\t24\t25\t26\t27\t"
     ]
    }
   ],
   "source": [
    "process_choose(pages)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 161,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出与分析 \n",
    "driver.find_element_by_xpath('//i[@class=\"icon-d\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 162,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出文献\n",
    "driver.find_element_by_xpath('//i[@class=\"icon-r\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 163,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 点击Refworks\n",
    "driver.find_element_by_xpath('//a[@exporttype=\"Refworks\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 164,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['CDwindow-2CBF5C5A0A37F5EB0CB0ACF37DF0DAA6',\n",
       " 'CDwindow-4AEBE8F543D03F1FDB23083CEEE9E30D',\n",
       " 'CDwindow-75BCDFC5B79040AC36F440635F49B00C',\n",
       " 'CDwindow-FB46AE724503880FF09597362205BA83',\n",
       " 'CDwindow-FAD9BE7A96B8B044C8180E90675BDC5C']"
      ]
     },
     "execution_count": 164,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 所有窗口ID\n",
    "driver.window_handles"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 169,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-169-ecda85629064>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[4])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[4])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 170,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导出 .txt文件\n",
    "driver.find_element_by_xpath('//i[@class=\"icon icon-export\"]').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 171,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 关闭已经操作过的窗口\n",
    "driver.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 172,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-172-1f3bb34cc9cb>:2: DeprecationWarning: use driver.switch_to.window instead\n",
      "  driver.switch_to_window(driver.window_handles[3])\n"
     ]
    }
   ],
   "source": [
    "# 窗口切换\n",
    "driver.switch_to_window(driver.window_handles[3])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 174,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 下载所选文献（350篇）\n",
    "driver.find_element_by_id('btn-download-all').click()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
